CMENU = 0 function Home() MRV1 = gg.choice({ "OPEN MENU πŸšͺ", "πŸ”šEXITπŸ”š", }, nil, ("SCRIPTE V1.0")) if MRV1 == nil then else if MRV1 == 1 then Menu() CMENU = 1 end if MRV1 == 2 then Exit() end end SCRIPTFF = -1 end function Menu() MRV2 = gg.multiChoice({ "RETURN ↩️", "EXIT 🚫", }, nil, ("SCRIPTE V1.0")) if MRV2 == nil then else if MRV2[1] == true then Home() end if MRV2[2] == true then Exit() end end SCRIPTFF = -1 end function Exit() EX = gg.alert("DO YOU WANT TO EXIT???", "YES", "NO") if EX == 1 then EXITY() end end function EXITY() gg.skipRestoreState() os.exit() end while true do if gg.isVisible(true) then SCRIPTFF = 1 gg.setVisible(false) end if SCRIPTFF == 1 and CMENU == 0 then Home() end if SCRIPTFF == 1 and CMENU == 1 then Menu() end end