local function X()if window.Visible then window.Visible=false else opened.Visible=true 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
		opened.Visible = true
		window.Visible = true
	end
end
