Enum
Enum.PlayerCharacterDestroyBehavior
Controls destruction behavior when a player character is removed.
| Item | Value | Summary |
|---|---|---|
| Enum.PlayerCharacterDestroyBehavior.Default | 0 | Uses the engine-default behavior. |
| Enum.PlayerCharacterDestroyBehavior.Disabled | 1 | Automatic Destroy() calls on character replacement and player removal are disabled. |
| Enum.PlayerCharacterDestroyBehavior.Enabled | 2 | The 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.