local R=script.Parent.Parent.Parent.LyricsFrame local d=script.Parent.Parent.Parent.Popular local e=script.Parent.Parent.Parent.Tracks local B=script.Parent.Parent.Parent.SearchTracks local C=script.Parent local function z()local C=UDim2.new(.0,0,.978,0)R.Position=C R.Size=UDim2.new(1,0,.022,0)R.Visible=true d.Visible=false e.Visible=false B.Visible=false R:TweenSizeAndPosition(UDim2.new(1,0,.808,0),UDim2.new(0,0,.195,0),"\079\117\116","\081\117\097\100",.4)end
-- Get references to the DockShelf and its children
local fldr = script.Parent.Parent.Parent.LyricsFrame
local Pop = script.Parent.Parent.Parent.Popular
local Trcks = script.Parent.Parent.Parent.Tracks
local Serch = script.Parent.Parent.Parent.SearchTracks
local btn = script.Parent

local function toggleWindow()
	-- Set the initial position of the window to be relative to the button
	local startPos = UDim2.new(0.0, 0, 0.978, 0)
	fldr.Position = startPos

	-- Set the initial size of the window to be zero
	fldr.Size = UDim2.new(1, 0, 0.022, 0)

	-- Show the window and tween its position and size from the button position and size to its original position and size
	fldr.Visible = true
	Pop.Visible = false
	Trcks.Visible = false
	Serch.Visible = false
	fldr:TweenSizeAndPosition(UDim2.new(1, 0, 0.808, 0), UDim2.new(0, 0, 0.195, 0), "Out", "Quad", 0.4)
end
