PlayerAdded (Event): Difference between revisions

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

Revision as of 15:09, 20 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.