local a=script.Parent.Parent.Parent.CreateFrame local Q=a.Parent.Create local d=script.Parent local function B()a:TweenSizeAndPosition(UDim2.new(1,0,.022,0),UDim2.new(.0,0,.978,0),"\079\117\116","\081\117\097\100",.4,false,function()a.Visible=false Q.Visible=true end)end
-- Get references to the DockShelf and its children
local fldr = script.Parent.Parent.Parent.CreateFrame

local createButton = fldr.Parent.Create

local btn = script.Parent

local function toggleWindow()
	-- Close the window by tweening back to the button position and size
	fldr:TweenSizeAndPosition(
		UDim2.new(1, 0, 0.022, 0),
		UDim2.new(0.0, 0, 0.978, 0),
		"Out",
		"Quad",
		0.4,
		false,
		function()
			fldr.Visible = false
			createButton.Visible = true
		end
	)
end
