GAMAGODX Posted August 28, 2020 Share Posted August 28, 2020 untitled.lua Link to comment Share on other sites More sharing options...
GAMAGODX Posted August 28, 2020 Author Share Posted August 28, 2020 gg.alert("⇲ ᴡᴇʟᴄᴏᴍᴇ ᴛᴏ ɢᴀᴍᴀs ᴠɪᴘ s14 ⇱") gg.alert("⇄s14 ᴠɪᴘ ᴘᴀɪᴅ sᴄʀɪᴘᴛs ᴏᴘᴇɴ\n\nғᴏʀ ʙᴜʏ ᴄᴏɴᴛᴀᴄᴛ @GAMAGODX⇄") gg.alert("↗ᴛʜɪs ᴠɪᴘ ɪs ᴀ ɢɪғᴛ ғᴏʀ 30ᴋ↖") gg.setVisible(false) function HOME() Menu = gg.choice({ "☞ ᴍᴏᴅ ᴍᴇɴᴜ", "☞ ᴇsᴘ", "☞ ɢᴜɴ ᴍᴇɴᴜ", "☞ ғʟʏ ᴍᴇɴᴜ", "☜ ᴇxɪᴛ"},nil,"┏ ᴍᴏᴅ ᴍᴇɴᴜ ʙʏ ɢᴀᴍᴀ\n┣ ᴍᴏᴅ ᴍᴇɴᴜ ᴛʏᴘᴇ [ғᴜʟʟ ᴠɪʟ]\n┗ ɪɴ ɢᴀᴍᴇ ʜᴀᴄᴋs ᴀʟsᴏ ᴛʜᴇʀᴇ") if Menu==nil then else if Menu==1 then mod() end if Menu==2 then esp() end if Menu==3 then gun() end if Menu==4 then gun() end if Menu==5 then fly() end if Menu==6 then Exit() end end PUBGMH = -1 end function mod() end function esp() end function gun() end function fly() end function Exit() os.exit() end ---i made this script working fine but when i click on exit button it doesnt end plz solve this error please----- Link to comment Share on other sites More sharing options...
zam535582 Posted August 28, 2020 Share Posted August 28, 2020 Menu = gg.choice({ 1 = "☞ ᴍᴏᴅ ᴍᴇɴᴜ", 2 = "☞ ᴇsᴘ", 3 = "☞ ɢᴜɴ ᴍᴇɴᴜ", 4 = "☞ ғʟʏ ᴍᴇɴᴜ", 5 = "☜ ᴇxɪᴛ"} exit at 5 but you write... if Menu==3 then gun() end if Menu==4 then gun() got extra end if Menu==5 then fly() end if Menu==6 then Exit() [added 3 minutes later] im guess you know what to do now. Link to comment Share on other sites More sharing options...
Jaadugar Posted August 28, 2020 Share Posted August 28, 2020 You have to make a function to exit Put os.exit() in the exit function to exit the script Link to comment Share on other sites More sharing options...
MonkeySAN Posted August 28, 2020 Share Posted August 28, 2020 2 hours ago, Jaadugar said: You have to make a function to exit Put os.exit() in the exit function to exit the script didnt he already done that...?? he assigned EXIT in "choice menu 5" but call it at menu == 6(doesnt exist) function gun() repeated at menu == 4 which should be fly() and function exit() is menu == 5. Link to comment Share on other sites More sharing options...
Jaadugar Posted August 29, 2020 Share Posted August 29, 2020 Yeah, he assigned EXIT as choice 5 but he called the menu == 6 Link to comment Share on other sites More sharing options...
Question
GAMAGODX
untitled.lua
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.