Here is the code that doesn't work:
script.Parent.MouseButton1Click:Connect(function() script.Parent.Parent.Visible = true end)
And for some reason i get this error message:
23:40:45.655 - Visible is not a valid member of ScreenGui
Also i tested it and the close button does work for some reason but the open button does not here is the close code that does work:
script.Parent.MouseButton1Click:Connect(function() script.Parent.Parent.Visible = false end)

1 comment
try .Enabled