Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Help with local intro scrip?

Asked by 9 years ago

i need help With intro script it need to be seen by only the local player

game.Players.localPlayer.PlayerAdded:connect(function(player) 
    script.IntroGui:Clone().Parent = player.PlayerGui 
end) 

its a local script

0
Your problem may be that the 'IntroGui' may not be existant within the script at the time of execution of the code, or the 'PlayerGui' may not be existant within the Player at the time of execution. :) TheeDeathCaster 2368 — 9y

2 answers

Log in to vote
3
Answered by 9 years ago

Lol, I might get a -1 for this but.. you COULD just get the intro plugin for free. It's on the first page of your Manage Plugins.

Or just look at this link

http://wiki.roblox.com/index.php?title=Camera_manipulation

0
I upvoted, I don't usually downvote people. FiredDusk 1466 — 9y
Ad
Log in to vote
0
Answered by
Myaxp 3
9 years ago

For server script:

game.Players.PlayerAdded:connect(function(player) 
    x = script.IntroGui:Clone()
    x.Parent = player.PlayerGui
end) 

For local script:

game.Players.ChildAdded:connect(function(player) 
    x = script.IntroGui:Clone()
    x.Parent = player.PlayerGui
end) 

Answer this question