I made this local script to open the GUI
script.Parent.MouseButton1Click:connect(function()
game.StarterGui.Shop.MainFrame.Visible = true
end)
I made this local script to close the GUI
script.Parent.MouseButton1Click:connect(function()
game.StarterGui.Shop.MainFrame.Visible = false
end)
Are there any errors in them that make them not work?
