Pandita7u7 Posted May 25, 2019 Share Posted May 25, 2019 I need my script to always be on the menu, never leave Please someone who knows how to make my script stay and not end Link to comment Share on other sites More sharing options...
Pandita7u7 Posted May 26, 2019 Author Share Posted May 26, 2019 MANY THANKS IT WORKS NOW . I WILL SHOW MY PROJECT TO OPEN CODE. HOPE YOU LIKE. IT IS ABOUT WAR ROBOTS Link to comment Share on other sites More sharing options...
Dragonflyss Posted May 27, 2019 Share Posted May 27, 2019 @Pandita7u7 good! I'm curious of what you made! Link to comment Share on other sites More sharing options...
Pandita7u7 Posted May 27, 2019 Author Share Posted May 27, 2019 My code is still missing a lot. I'm a newbie in this but I think I'm good I need someone I trust to watch my script and help me Link to comment Share on other sites More sharing options...
Ra-One Posted May 27, 2019 Share Posted May 27, 2019 no one will help you properly man they're not that good haha....ok i will help you Link to comment Share on other sites More sharing options...
Uaaa Posted May 25, 2019 Share Posted May 25, 2019 Write Your Menu function at end of code that runs ex: Function Main() This is were the menu is Function CodeHack() Bla bla bla Main() End Link to comment Share on other sites More sharing options...
maulz Posted May 25, 2019 Share Posted May 25, 2019 Loop it. Example: function main() local menu = gg.choice({"Menu 1", "Exit"}, nil, "Test Loop") if menu == 2 then os.exit() end end while true do main() end Link to comment Share on other sites More sharing options...
Pandita7u7 Posted May 25, 2019 Author Share Posted May 25, 2019 2 hours ago, maulz said: Loop it. Example: function main() local menu = gg.choice({"Menu 1", "Exit"}, nil, "Test Loop") if menu == 2 then os.exit() end end while true do main() end By doing that, it works, but I can not get out of the menu. The only way out is to cancel, but I want the menu to be open while I'm not using it Link to comment Share on other sites More sharing options...
maulz Posted May 25, 2019 Share Posted May 25, 2019 45 minutes ago, Pandita7u7 said: By doing that, it works, but I can not get out of the menu. The only way out is to cancel, but I want the menu to be open while I'm not using it while true do if gg.isVisible() then gg.setVisible(false) main() end end Link to comment Share on other sites More sharing options...
Question
Pandita7u7
I need my script to always be on the menu, never leave Please someone who knows how to make my script stay and not end
Link to comment
Share on other sites
8 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.