Skip to content
Roblox API Reference

Enum.PlayerCharacterDestroyBehavior

Controls destruction behavior when a player character is removed.
Items
3
Uses
1

Items3

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

Used by properties1