Enum
PlayerExitReason
An enum that specifies the reason for Players.PlayerRemoving signal.
Second argument in Players.PlayerRemoving. Helps identify whether a
kick was caused by the Roblox platform or the Creator.
Items 3#
| Name | Value | Summary |
|---|---|---|
Unknown | 0 | Catch-all for all other disconnect reasons. |
PlatformKick | 1 | User was kicked by Roblox systems, such as being blocked while in a Private Server. |
CreatorKick | 2 | Creator called Player:Kick() |