PlayerAdded (Event): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Police4000
m PlayerAdded (Event) moved to How to edit player on entered
>Armydude123
m How to edit player on entered moved to PlayerAdded (Event)
(No difference)

Revision as of 21:00, 22 August 2008

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.