Pandita7u7 Posted May 25, 2019 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
Pandita7u7 Posted May 26, 2019 Author 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
Pandita7u7 Posted May 27, 2019 Author 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
Ra-One Posted May 27, 2019 Posted May 27, 2019 no one will help you properly man they're not that good haha....ok i will help you
Uaaa Posted May 25, 2019 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
maulz Posted May 25, 2019 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
Pandita7u7 Posted May 25, 2019 Author 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
maulz Posted May 25, 2019 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
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
8 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.