local function D()mainWindow.Visible=true;(TweenService:Create(mainWindow,Bar_Button_TweenInfo,{Size=UDim2.new(0,1009,0,522);GroupTransparency=0})):Play()end local function q()(TweenService:Create(mainWindow,Bar_Button_TweenInfo,{Size=UDim2.new(0,996,0,509),GroupTransparency=1})):Play()task.wait(.3)mainWindow.Visible=false end

local function showMainWindow()
	mainWindow.Visible = true
	TweenService:Create(mainWindow, Bar_Button_TweenInfo, {Size = UDim2.new(0, 1009,0, 522), GroupTransparency = 0}):Play()
end

local function hideMainWindow()
	TweenService:Create(mainWindow, Bar_Button_TweenInfo, {Size = UDim2.new(0, 996,0, 509), GroupTransparency = 1}):Play()
	task.wait(0.3)
	mainWindow.Visible = false
end
