1 min read

Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.

PlayerCharacterDestroyBehavior

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

NameValueDescription
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.

Default

Uses the engine-default behavior.

FieldValue
value0

Disabled

Automatic Destroy() calls on character replacement and player removal are disabled.

FieldValue
value1

Enabled

The engine automatically calls Destroy() on old characters when they are replaced (for example, on respawn) and on Player objects when players leave.

FieldValue
value2