PlayerAdded (Event)

From Legacy Roblox Wiki
Revision as of 15:07, 29 August 2010 by >Camoy (Small fixes)
Jump to navigationJump to search
PlayerAdded ( Instance player )
Description Fired after a player enters the game.
Member of: [[RBX.lua.Players (Object)|Players]]
Example
local function onPlayerEntered(newPlayer)
wait(10)
newPlayer.Character.Torso.Transparency = 1
end

game.Players.PlayerAdded:connect(onPlayerEntered)