I attached both a video and the close/open GUI, as well as the entire gui contents in a screenshot. It's a little jumbled, but I spent an hour tweaking it and it would be great if there's a fix. Thanks!
- In the close/open script:
script.Parent.MouseButton1Click:connect(function()
mainShop = script.Parent.Parent.MainShop
if mainShop.Visible == false then
mainshop.Visible = true
script.Parent.Text = "Close"
else
mainShop.Visible = false
script.Parent.Text = "Open"
end
end)
- Screencapture of the contents of the GUI:
https://gyazo.com/191edb0518b3b7a5c491851f5889fe95
- Video of what happens:
If anyone can figure this out, it'd mean a lot. Thanks!

3 comments
try making it repeat im not 100% sure but for now just do a simple while true do and see if it works if it doesnt then idk i have a shop that works
also this looks the EXACT SAME as my script and mine works veryyy weird
@arrow Nope, thanks for trying to help tho. Any other ideas?