GAMAGODX Posted August 28, 2020 Author 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-----
zam535582 Posted August 28, 2020 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.
Jaadugar Posted August 28, 2020 Posted August 28, 2020 You have to make a function to exit Put os.exit() in the exit function to exit the script
MonkeySAN Posted August 28, 2020 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.
Jaadugar Posted August 29, 2020 Posted August 29, 2020 Yeah, he assigned EXIT as choice 5 but he called the menu == 6
Question
GAMAGODX
untitled.lua
5 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.