I am working on the open/close GUI menu and I have a problem.
My GUI won't open!
Here is my GUI Open Button Script;
function onClick() -- starts function programming
script.Parent.Parent.Frame.Visible = true -- Makes Frame Visible
local frame = script.Parent.Parent.Frame -- shows where frame is
script.Parent.Visible = false -- Makes Open Button Invisible
script.Parent.Parent.Close.Visible = true -- Makes the close button Visible
end -- ends function programming
script.Parent.MouseButton1Down:connect(onClick)
and here is my GUI CLose Button Script;
function onClick() -- starts function programming
script.Parent.Parent.Frame.Visible = false -- Makes Frame Invisible
local frame = script.Parent.Parent.Frame -- shows where frame is
script.Parent.Visible = true -- Makes Open Button Visible
script.Parent.Parent.Close.Visible = false -- Makes the close button Invisible
end -- ends function programming
script.Parent.MouseButton1Down:connect(onClick)
How am I supposed to make my GUI open? What did I do wrong?
Tell me if you need any more information to answer this question! :)

5 comments
':Connect' is lowercase, so ':connect'
Whats the hierarchy look like? Like, whats parented to what?
Also, visible needs to be capitalized, so 'Visible'. Not 'visible'. :)
Thank y'all!
Ok... I fixed all of those things and edited my question, my GUI still won't work! D: