Can I please have some help with this script?
script.Parent.MouseButton1Click:Connect(function()
game.Players.LocalPlayer.PlayerGui.ScreenGui.ScreenGui.Visible = false
end)
wait(0)
game.StarterGui.ScreenGui.Frame.Visible = true
It is meant to say that if I click a TextButton another GUI will appear.

1 comment
By the way the reason why there is two "ScreenGui"s is because I named the frame "ScreenGui".