I would simply like the ClickDetector to open my GUI, and then the GUI can be disabled by a button. But when I try to click the ClickDetector one more time (after I closed the GUI), it doesn't work.
Part ClickDetector Code (Script):
script.Parent.ClickDetector.MouseClick:connect(function(player)
player.PlayerGui.ProductShop.Enabled = true
end)
GUI Close Button Code (LocalScript):
local s = script.Parent
s.MouseButton1Down:connect(function()
s.Parent.Parent.Enabled = false
end)
Any help would be appreciated.

1 comment
use remote events.. i think?