Reference API Roblox

Engine API

Website

Related

Reference API Roblox

PlayerCharacterDestroyBehavior

Controls destruction behavior when a player character is removed.

Items 3

HistoryNameValueDescription
603Default0

Uses the engine-default behavior.

603Disabled1

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

603Enabled2

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

Description

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.

History 4

Settings