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)
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)