Roblox UtilitiesDevlHub Roblox Documentation

Enum

PlayerCharacterDestroyBehavior

Controls destruction behavior when a player character is removed.

Controls whether the engine automatically calls Destroy() on a player's old character when it is replaced and on the Player object when the player leaves. This enum is used by Workspace.PlayerCharacterDestroyBehavior.

Items 3#

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