I've tried doing this script but didn't work.
Local GUI = game.StarterGui.ScreenGui
Local Button = GUI.Button
Local Menu = GUI.Menu
Local Close = Menu.Close
Button.MouseButton1Down:connect(function()
Button.Visible = false -- also tried Button.Visible = not Button.Visible and didn't solve it
Menu.Visible = true
end)
If you're able to come up with a solution it'd be a great help, thanks.

1 comment
'local' should be lowercase, so 'Button' would be nil or would more likely error before assignment