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

i am making a gui that opens on join, it doesent seem to work?

Asked by 7 years ago
Edited 7 years ago

********~~~~~~~~~~~~~~~~~

game.Players.PlayerAdded:connect(function(player)
player.PlayerGui.IntroGui.Frame.Visible = false
wait (2)
player.PlayerGui.IntroGui.Frame.Visible = true


end)

~~~~~~~~~~~~~~~~~

i am making a gui that opens on join... The screen gui is named "IntroGui" the Frame is named Frame and i am editing the visibility.

I still don't get this thing!

0
is the gui inside of startergui? Have you checked your output? RubenKan 3615 — 7y
0
my output is spammed by plugins darmantinjr 169 — 7y
0
Then disable the plugins User#5423 17 — 7y
0
Are you sure it's meant to be false first and true last?? sodaghost1 34 — 7y

3 answers

Log in to vote
0
Answered by 7 years ago

You should try doing this with a localscript in the StarterGui:

wait()
script.Parent.IntroGui.Frame.Visible = true

Make sure that your intro is invisible to begin with.

0
thanks bud! can't test it atm but will try later! what will this line be replacing darmantinjr 169 — 7y
Ad
Log in to vote
0
Answered by 7 years ago

eh....................................................... when dealing with GUIs I recommend using localscripts but ok

Log in to vote
0
Answered by
IcyEvil 260 Moderation Voter
6 years ago

When you use a GUI you need to use a localscript.

Guis are local to a player.

Answer this question