I can't seem to get how to make the script work
here's the script:
- local see = true
- local frame = script.Parent.Parent.Frame.Visible
- script.Parent.MouseButton1Click:Connect(function()
while see doscript.Parent.Parent.Frame.Visible = trueprint ("success")see = falseif see == false thenframe.Visble = falsesee = trueendend
14 end)
can anyone explain to me how to make the script work so I can press a button to close or open a shop Gui?
