Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Why dosn't the gui show up on the screen?

So I have made a script. Where a gui should show up on my screen if a click on textbutton. When I press the textbutton. The frame"gui" becomes visible = true. But it still doesn't show up on my screen. How do I make it show up on my screen?

textbutton = script.Parent
gui = game.StarterGui.Experia.Menu
textbutton.MouseButton1Click:Connect(function()
	gui.Visible = true
	print("textbutton got pressed")
end)

1 comment

0

This is a common problem lately :)

1 answer

✓ Accepted answer

you are turning the StarterGui Visible not the PlayerGui try

textbutton = script.Parent
gui = game.Players.LocalPlayer.PlayerGui.Experia.Menu
textbutton.MouseButton1Click:Connect(function()
    gui.Visible = true
    print("textbutton got pressed")
end)

1 comment

0

Hey, this works and I tottaly understand what I did wrong. Ty very much.

This discussion is preserved as it was. New answers, comments, and votes are closed.