PlayerRemoving (Event): Difference between revisions

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

Revision as of 21:33, 22 July 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)