local n=script.Parent local I=script.Parent.Parent.TitelFrame local function X()I.Visible=true print("\083\104\111\119\105\110\103 \070\114\097\109\101")end local function r()I.Visible=false print("\072\105\100\105\110\103 \070\114\097\109\101")end n.activated:Connect(function()if I.Visible then r()else X()end end)
--local Titel = script.Parent
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)
