PlayerAdded (Event)

From Legacy Roblox Wiki
Revision as of 05:07, 1 November 2008 by >Mindraker
Jump to navigationJump to search
PlayerAdded ( Instance Player )
Description Fired after a player enters the game.
Member of: [[RBX.lua.Players (Object)|Players]]

Example:

function onPlayerEntered(newPlayer)
wait(10)
newPlayer.Character.Torso.Transparency = 1
end

game.Players.ChildAdded:connect(onPlayerEntered)