of     1   

xXBestPieXx
#138347722Friday, June 27, 2014 5:42 AM GMT

game.Players.PlayerAdded:connect(function(p) if p.Name == "Player" then game.Lighting.ScreenGui.Parent = game.Players.PlayerGui wait(3) game.Players.PlayerGui.ScreenGui:remove() end
xXBestPieXx
#138348139Friday, June 27, 2014 5:46 AM GMT

Please, I need to know! It says there is an error on line 2! Idk what that error is!
UncleTaz
#138348617Friday, June 27, 2014 5:52 AM GMT

Whats the function suppose to do cause I'm so confused...
xXBestPieXx
#138348790Friday, June 27, 2014 5:54 AM GMT

It's supposed to take the ScreenGui from Lighting to PlayerGui so people can see it and then destroy it.
nacker
#138348953Friday, June 27, 2014 5:56 AM GMT

fixed version: game.Players.PlayerAdded:connect(function(p) if p.Name == "Player" then game.Lighting.ScreenGui.Parent = game.Players.PlayerGui wait(3) game.Players.PlayerGui.ScreenGui:remove() end end)
AnonyAnonymous
#138348959Friday, June 27, 2014 5:56 AM GMT

end end) That should fix the problem.
xXBestPieXx
#138348962Friday, June 27, 2014 5:56 AM GMT

When a person joins. (btw, I meant remove, not destroy :3)
xXBestPieXx
#138349006Friday, June 27, 2014 5:56 AM GMT

omg, I tried it the other way. LOL! Thanks
UncleTaz
#138349010Friday, June 27, 2014 5:56 AM GMT

Why do all of that? Just put the GUI in StarterGUI > Change the transparency to 1 > wait(0) > change the transparency to 0 > wait (##) > Then remove it? On player enter?
xXBestPieXx
#138349119Friday, June 27, 2014 5:58 AM GMT

BUT... the gui doesn't even show! Did I use a wrong parent?
AnonyAnonymous
#138349255Friday, June 27, 2014 5:59 AM GMT

PlayerGui would only effect that specific player's GUI, not sure about the transparency though.
AnonyAnonymous
#138349407Friday, June 27, 2014 6:02 AM GMT

Maybe it's the second line causing the problem?.
xXBestPieXx
#138349896Friday, June 27, 2014 6:08 AM GMT

I'm really just learning how to script and experimenting. I have no idea on how to fix these types of errors. Usually, if it doesn't show up, I try one last time then delete it. But this is a project I am working on and I want it to work. Could someone with more experience just tell me what I am doing wrong or which parent I put the gui in for it to work?
AnonyAnonymous
#138350133Friday, June 27, 2014 6:12 AM GMT

After looking at the original post I think I know what the problem is, you need to use game.Lighting.ScreenGui.Parent = p.PlayerGui
xXBestPieXx
#138350318Friday, June 27, 2014 6:14 AM GMT

Idk if it was just because I was in test mode, but that doesn't work.
AnonyAnonymous
#138350763Friday, June 27, 2014 6:20 AM GMT

Try changing "Player" to "Player1".
AnonyAnonymous
#138350901Friday, June 27, 2014 6:22 AM GMT

Also, change game.Players.PlayerGui.ScreenGui:remove() to p.PlayerGui.ScreenGui:remove()
xXBestPieXx
#138350937Friday, June 27, 2014 6:23 AM GMT

Wait! I found it out now! game.Players.PlayerAdded:connect(function(p) game.Lighting.ScreenGui.Parent = p.PlayerGui wait(3) p.PlayerGui.ScreenGui:remove() end)
AnonyAnonymous
#138351172Friday, June 27, 2014 6:26 AM GMT

Yes, the reason why you were having those errors besides the initial end problems was because you didn't specify to the game's engine logic the specific player, you specified essentially every player.
xXBestPieXx
#138351226Friday, June 27, 2014 6:26 AM GMT

How have I been so stupid?
AnonyAnonymous
#138351489Friday, June 27, 2014 6:30 AM GMT

Don't get upset, we all make mistakes, none of us are perfect in any form. Even we made mistakes while trying to help you, regardless of the severity mistakes teach us experience so go on ahead and continue scripting and you will make more unintentional mistakes eventually, examine and learn from them.
xXBestPieXx
#138351535Friday, June 27, 2014 6:31 AM GMT


    of     1