PcoWSkbVqDnWTu_dm2ix
We use cookies on this site to enhance your user experience
Collapse Sidebar

PlayerDisconnecting

The PlayerDisconnecting Players event fires when a player is disconnecting from the game. It indicates the Player instance disconnecting.

This event is not intended for wide use and will not work in Scripts or LocalScripts. Instead, you can use the Player/PlayersAdded and Players/PlayerRemoving events.

Similarly, if you want to track when a player’s character is added or removed from the game, such as when a player respawns or dies, you can use the Player/CharacterAdded and Player/CharacterRemoving functions.

Parameters

Name Type Default Description

The Player disconnecting.