local function Z()if window.Visible then window.Visible=false else window.Visible=true end end
-- Define the function to open or close the window with gene-alike effect
local function toggleWindow()
	if window.Visible then
		window.Visible = false
	else
		window.Visible = true
	end
end
