local function v()if window.Visible then window:TweenSizeAndPosition(UDim2.new(0,0,0,0),UDim2.new(0,aFinderButton.AbsolutePosition.X,0,aFinderButton.AbsolutePosition.Y),"\079\117\116","\081\117\097\100",.2,false,function()window.Visible=false end)end end

local function toggleWindow()
	if window.Visible then
		-- Close the window by tweening back to the button position and size
		window:TweenSizeAndPosition(
			UDim2.new(0, 0, 0, 0),
			UDim2.new(0, aFinderButton.AbsolutePosition.X, 0, aFinderButton.AbsolutePosition.Y),
			'Out',
			'Quad',
			0.2,
			false,
			function()
				window.Visible = false
			end
		)
	end
end
