local F=script.Parent local w=script.Parent.Parent.TitelFrame local function v()w.Visible=true print("\083\104\111\119\105\110\103 \070\114\097\109\101")end local function B()w.Visible=false print("\072\105\100\105\110\103 \070\114\097\109\101")end F.activated:Connect(function()if w.Visible then B()else v()end end)

local button = script.Parent

local TitelFrame = script.Parent.Parent.TitelFrame

local function openFrame()
	TitelFrame.Visible = true
	print('Showing Frame')
end

local function closeFrame()
	TitelFrame.Visible = false
	print('Hiding Frame')
end

button.activated:Connect(function()
	if TitelFrame.Visible then
		closeFrame()
	else
		openFrame()
	end
end)

