PlayerAdded (Event)

From Legacy Roblox Wiki
Revision as of 20:17, 22 August 2008 by >Police4000 (PlayerAdded (Event) moved to How to edit player on entered)
Jump to navigationJump to search
Stub icon Stub
This article is a stub. If you think you know more about this than we do, please help us by contacting a writer.
Thank you!


In Roblox studio, insert a script into Workspace.
Copy the following script:

function onPlayerEntered(newPlayer)
wait(10) -- How many seconds before the Torso will become transparent
newPlayer.Character.Torso.Transparency = 1 -- The Torso will become transparent.
end

game.Players.PlayerAdded:connect(onPlayerEntered)

Edit the value after "wait" as you please.