I have a click open/close button that opens a frame. Problem is when you click "Close" the frame dosent close. What is the problem and how to fix it?
Box = script.Parent.Box
Button = script.Parent.Button
Open = false
Button.MouseButton1Down:connect(function(open)
if Open == false then
Button.Text = "Close"
Box.Visible = true
elseif Open == true then
Button.Text = "Information"
Box.Visible = false
end
end)
Box is the frame, Button is the open/close button
