Jump to content

Menu for gg lua script


SHELL_SCRIPT
 Share

Recommended Posts

Menu for gg lua script


HOME = 1

function HOME()
menu = gg.choice({
"MENU 2",

},nil,'=============\nMENU 1 MAIN\n=============')

if menu == 1 then MENU2() end
HOMEDM = -1
end

function MENU2()
menu2 = gg.choice({
"BACK",
    
},nil,'========\nMENU 2\n========')

if menu2 == 1 then HOME() end
end

while true do 
  if gg.isVisible(false) then 
   HOMEDM = 1
    gg.setVisible(false) 
  end 
  if HOMEDM == 1 then HOME() end 
 end
 


 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.