---
name: PlayerExitReason
last_updated: 2026-06-19T03:26:26Z
type: enum
summary: "An enum that specifies the reason for **Players.PlayerRemoving** signal."
---

# PlayerExitReason

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

**Type:** enum

## Description

Second argument in [Players.PlayerRemoving](/docs/reference/engine/classes/Players.md). Helps identify whether a
kick was caused by the Roblox platform or the Creator.

## 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()** |