function open()
if script.Parent.Text == "Options" then
script.Parent.Parent.OptionFrame.Visible = true
script.Parent.Text = "Close"
end
end
script.Parent.MouseButton1Down:connect(open)
This is the open script, that seems to be working, but for some reason the close (below) is not.
function close()
if script.Parent.Text == "Close" then
script.Parent.Parent.OptionFrame.Visible = false
script.Parent.Text = "Options"
end
end
script.Parent.MouseButton1Down:connect(close)
Can someone help me?

2 comments
It looks fine to me...
But it's not closing :/