PlayerRemoving (Event): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Emess
No edit summary
>Emess
No edit summary
(No difference)

Revision as of 18:20, 3 April 2011

PlayerRemoving ( Player player )
Description Fired right before the player leaves the game.
Member of: Players
Example
local function onPlayerLeaving(Player)
  print(Player.Name.." is leaving the game!")
end

game.Players.PlayerRemoving:connect(onPlayerLeaving)