I can't seem to get how to make the script work
here's the script:
can anyone explain to me how to make the script work so I can press a button to close or open a shop Gui?
I've written these before Its doesn't work because Lua has this problem with comparing these types of values
local frame = script.Parent.Parent.Frame script.Parent.MouseButton1Click:Connect(function() if frame.Visible == true then frame.Visible = false else frame.Visible = true end end)
I think that should work :D