-- LocalScript:


local Open = false
local Frame = script.Parent.Parent.TextButton
local Button = script.Parent

function Clicked()
	if Open == false then
		Open = true
		Frame.Visible = true
		Button.Text = "Close" -- Closes the Frame
	elseif Open == true then
		Open = false
		Frame.Visible = false
		Button.Text = "Open" -- Opens the Frame
	end
end


Button.MouseButton1Click:connect(Clicked)
