‹ All natives
Namespace: EVENT
API set: server
Language: Luau Improve
playerLeave
on("playerLeave", function(player) end)
A player is leaving.
The onExit of their zones have already been called, with the reason left.
Parameters#
- player (
Player): the player, still readable during this call
Notes#
- Do not call
wait before reading everything: the player disappears right after.