Skip to content

Enum

Enum.PlayerCharacterDestroyBehavior

Controls destruction behavior when a player character is removed.

Official docs ↗
ItemValueSummary
Enum.PlayerCharacterDestroyBehavior.Default0Uses the engine-default behavior.
Enum.PlayerCharacterDestroyBehavior.Disabled1Automatic Destroy() calls on character replacement and player removal are disabled.
Enum.PlayerCharacterDestroyBehavior.Enabled2The engine automatically calls Destroy() on old characters when they are replaced (for example, on respawn) and on Player objects when players leave.

Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com.