Hello, So I have a question! My gui is not opening after I close it for some reason! can someone help me out?
script.Parent.MouseButton1Click:Connect(function()
script.Parent.Parent.Visible = false
end)
I have always used that code but it never reopens I just noticed it.
I'd suggest adding a Frame to your Gui. This is a more effective way of opening and closing a Gui. In the TextButton, add this code:
script.Parent.MouseButton1Click:Connect(function() script.Parent.Parent.Frame.Visible = not script.Parent.Parent.Frame.Visible end)
The script your wrote down, makes the GUI completely false.