function onButtonClicked()
script.Parent.Parent.Parent.Parent.Intro.Main.Visible = true
wait()
script.Parent.Parent.Visible = false
end
script.Parent.MouseButton1Click:connect(onButtonClicked)
The code is in a local script.
0
Could you possibly give the hierarchy of how your GUIs are setup? That would help me figure out the problem. On a side note, remember to check all of your properties, positions, and visibility of all of your GUI elements.Crystalflxme104— 5y
0
I'm lookin at this, and it looks like you need to make the wait longer. Right now it just disappears and reappears instantly, and you can't really see it. Change the wait from having nothing in there, to something like 0.1 or 1.Knineteen19307— 5y
0
Probably just added too few or too many parents, also use :ConnectWarfaresh0t414— 5y