# Enum.PlayerExitReason

Roblox Engine API enum from Roblox Studio 0.744.0.7441077 (version-7aaa6838d36c4448).

- HTML page: https://rapi.sleaze.dev/enums/PlayerExitReason/
- Roblox documentation: https://create.roblox.com/docs/reference/engine/enums/PlayerExitReason

An enum that specifies the reason for **Players.PlayerRemoving** signal.

## Items

| Name | Value | Description |
| --- | --- | --- |
| `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()** |

## Used by

Each entry lists the class, then the role and names of the members that use this type.

- [Players](https://rapi.sleaze.dev/classes/Players.md): event parameter `PlayerRemoving`
