_yourram Posted January 8 Posted January 8 (edited) [ @kiynox ] could this script be any better? function menus() choices = gg.choice({'Prepare spam','Search','Exit'}) if choices == nil then os.exit() else if choices == 3 then os.exit() else prepares(choices) end end end function prepares(choices) if choices == 1 then gg.clearResults() gg.searchNumber("9;74;8.0", gg.TYPE_FLOAT) gg.refineNumber('74', gg.TYPE_FLOAT) chatspam = gg.getResults(gg.getResultsCount()) gg.addListItems(chatspam) elseif choices == 2 then gg.loadResults(chatspam) gg.getResults(1000) chatspam = gg.prompt({"Enter which letter you want to spam?(0 = A, 1 = B, 2 = C, 3 = D, 4 = E, 5 = F, 6 = G, 7 = H, 8 = I, 9 = J, 10 = K, 11 = L, 12 = M, 13 = N, 14 = O, 15 = P, 16 = Q, 17 = R, 18 = S, 19 = T, 20 = U, 21 = V, 22 = W, 23 = X, 24 = Y, 25 = Z)"}, {[1] ="0"}, {["1"] ="number"}) if chatspam == nil then gg.alert("you haven't searched anything so the script will restart!") return end gg.editAll(chatspam[1] ,gg.TYPE_FLOAT) chatspam = gg.getResults(gg.getResultsCount()) end end knxs = false while true do if gg.isVisible(true) then knxs = true else knxs = false end if knxs == true then menus() else gg.setVisible(false) end end Edited January 8 by _yourram
0 _yourram Posted January 8 Author Posted January 8 24 minutes ago, _yourram said: chatspam = gg.prompt({"Enter which letter you want to spam?(0 = A, 1 = B, 2 = C, 3 = D, 4 = E, 5 = F, 6 = G, 7 = H, 8 = I, 9 = J, 10 = K, 11 = L, 12 = M, 13 = N, 14 = O, 15 = P, 16 = Q, 17 = R, 18 = S, 19 = T, 20 = U, 21 = V, 22 = W, 23 = X, 24 = Y, 25 = Z)"}, I wanna write script like this structure but I can't write↓ chatspam = gg.prompt({"Enter which letter you want to spam? 0 = A 1 = B 2 = C 3 = D 4 = E 5 = F 6 = G 7 = H 8 = I 9 = J 10 = K 11 = L 12 = M 13 = N 14 = 0 15 = P 16 = Q 17 = R 18 = S 19 = T 20 = U 21 = V 22 = W 23 = X 24 = Y 25 = Z "}, {[1] ="0"}, {["1"] ="number"}) if chatspam == nil then gg.alert("you haven't searched anything so the script will restart!") return end gg.editAll(chatspam[1] ,gg.TYPE_FLOAT) chatspam = gg.getResults(gg.getResultsCount()) end end
0 MANDO01 Posted January 8 Posted January 8 18 minutes ago, _yourram said: I wanna write script like this structure but I can't write↓ chatspam = gg.prompt({"Enter which letter you want to spam? 0 = A 1 = B 2 = C 3 = D 4 = E 5 = F 6 = G 7 = H 8 = I 9 = J 10 = K 11 = L 12 = M 13 = N 14 = 0 15 = P 16 = Q 17 = R 18 = S 19 = T 20 = U 21 = V 22 = W 23 = X 24 = Y 25 = Z "}, {[1] ="0"}, {["1"] ="number"}) if chatspam == nil then gg.alert("you haven't searched anything so the script will restart!") return end gg.editAll(chatspam[1] ,gg.TYPE_FLOAT) chatspam = gg.getResults(gg.getResultsCount()) end end you can use [[]] like this chatspam = gg.prompt({[[Enter which letter you want to spam? 0 = A 1 = B 2 = C 3 = D 4 = E 5 = F 6 = G 7 = H 8 = I 9 = J 10 = K 11 = L 12 = M 13 = N 14 = 0 15 = P 16 = Q 17 = R 18 = S 19 = T 20 = U 21 = V 22 = W 23 = X 24 = Y 25 = Z ]]}, {[1] ="0"}, {["1"] ="number"})
0 _yourram Posted January 8 Author Posted January 8 [ @MANDO01 ] 28 minutes ago, MANDO01 said: chatspam = gg.prompt({[[Enter which letter you want to spam? 0 = A 1 = B 2 = C 3 = D 4 = E 5 = F 6 = G 7 = H 8 = I 9 = J 10 = K 11 = L 12 = M 13 = N 14 = 0 15 = P 16 = Q 17 = R 18 = S 19 = T 20 = U 21 = V 22 = W 23 = X 24 = Y 25 = Z ]]}, {[1] ="0"}, {["1"] ="number"}) --- https://drive.google.com/file/d/1heYp1l8HJqZ9pP7FY8qbJ2PaSHIaK6Ya/view?usp=drivesdk I couldn't upload the screen shot here so I uploaded it to Google Drive.
0 _yourram Posted January 8 Author Posted January 8 [ @MANDO01 ] 43 minutes ago, _yourram said: https://drive.google.com/file/d/1heYp1l8HJqZ9pP7FY8qbJ2PaSHIaK6Ya/view?usp=drivesdk --- It's working now, thanks!
0 MANDO01 Posted January 8 Posted January 8 14 minutes ago, _yourram said: [ @MANDO01 ] --- It's working now, thanks! no problem i'm here for help 1
0 _yourram Posted January 9 Author Posted January 9 (edited) [ @MANDO01 ] is there any command by which if the 1st result is empty then the script starts searching the 2nd search results directly? --------- 1st Search Results ↓ gg.searchNumber("8243126118139469840", 32) gg.refineNumber("8243126118139469840", 32) local t = gg.getResults(1) for i,v in pairs(t) do t[i].address = t[i].address - 0xC t[i].flags = 4 t[i].value = 0 t[i].freeze = false gg.setValues(t) end local t = gg.getResults(10) for i,v in pairs(t) do t[i].address = t[i].address + 0x2C t[i].flags = 16 t[i].value = 0 t[i].freeze = true gg.addListItems(t) end gg.setValues(t) local t = gg.getResults(10) --------- for how many milliseconds do you want to spawn troll? (1 second = 1000) gg.sleep(1060) for i,v in pairs(t) do t[i].address = t[i].address + 0x2C t[i].flags = 16 t[i].value = 190 t[i].freeze = true gg.addListItems(t) end gg.setValues(t) gg.removeListItems(t) gg.clearResults() --------- 2nd Search Results ↓ gg.searchNumber("7243116118139472821", 32) gg.refineNumber("7243116118139472821", 32) local t = gg.getResults(1) for i,v in pairs(t) do t[i].address = t[i].address - 0xC t[i].flags = 4 t[i].value = 0 t[i].freeze = false gg.setValues(t) end local t = gg.getResults(10) for i,v in pairs(t) do t[i].address = t[i].address + 0x2C t[i].flags = 16 t[i].value = 0 t[i].freeze = true gg.addListItems(t) end gg.setValues(t) local t = gg.getResults(10) --------- for how many milliseconds do you want to spawn troll? (1 second = 1000) gg.sleep(1060) for i,v in pairs(t) do t[i].address = t[i].address + 0x2C t[i].flags = 16 t[i].value = 190 t[i].freeze = true gg.addListItems(t) end gg.setValues(t) gg.removeListItems(t) gg.clearResults() --------- 3rd Search Results ↓ gg.searchNumber("6243116118139471289", 32) gg.refineNumber("6243116118139471289", 32) local t = gg.getResults(1) for i,v in pairs(t) do t[i].address = t[i].address - 0xC t[i].flags = 4 t[i].value = 0 t[i].freeze = false gg.setValues(t) end local t = gg.getResults(10) for i,v in pairs(t) do t[i].address = t[i].address + 0x2C t[i].flags = 16 t[i].value = 0 t[i].freeze = true gg.addListItems(t) end gg.setValues(t) local t = gg.getResults(10) --------- for how many milliseconds do you want to spawn troll? (1 second = 1000) gg.sleep(1060) for i,v in pairs(t) do t[i].address = t[i].address + 0x2C t[i].flags = 16 t[i].value = 190 t[i].freeze = true gg.addListItems(t) end gg.setValues(t) gg.removeListItems(t) gg.clearResults() --------- 4th Search Results ↓ gg.searchNumber("3243116118139470289", 32) gg.refineNumber("3243116118139470289", 32) local t = gg.getResults(1) for i,v in pairs(t) do t[i].address = t[i].address - 0xC t[i].flags = 4 t[i].value = 0 t[i].freeze = false gg.setValues(t) end local t = gg.getResults(10) for i,v in pairs(t) do t[i].address = t[i].address + 0x2C t[i].flags = 16 t[i].value = 0 t[i].freeze = true gg.addListItems(t) end gg.setValues(t) local t = gg.getResults(10) --------- for how many milliseconds do you want to spawn troll? (1 second = 1000) gg.sleep(1060) for i,v in pairs(t) do t[i].address = t[i].address + 0x2C t[i].flags = 16 t[i].value = 190 t[i].freeze = true gg.addListItems(t) end gg.setValues(t) gg.removeListItems(t) gg.clearResults() i know my 2nd, 3rd and 4th searches take time because of gg.sleep() but i can't remove it because in this script I really need to use gg.sleep() Edited January 9 by _yourram
0 MAARS Posted January 9 Posted January 9 local utf8 = require("utf8") local chars = {} for i = utf8.codepoint("A"), utf8.codepoint("Z") do table.insert(chars, utf8.char(i)) end local ch = gg.choice(chars, 0, "Choose a letter to spam") print("You chose: " .. chars[ch]) 1
0 MAARS Posted January 9 Posted January 9 (edited) 15 hours ago, _yourram said: [ @MANDO01 ] is there any command by which if the 1st result is empty then the script starts searching the 2nd search results directly? You have just to check if the search result is empty. if (gg.getResultsCount() <= 0) then -- end And i see some logic issue with the script 15 hours ago, _yourram said: local t = gg.getResults(10) Here you call getResult 10 but you called getResult 1 just earlier, would make sense if you skipped the 1st result but you did not 15 hours ago, _yourram said: t[i].flags = 16 are u using flags 16 and 4 in some place on purpose or you missed ? i am a little bit confused in this context 15 hours ago, _yourram said: gg.removeListItems(t) why are u calling remove list item knowing you just called addListItem just earlier with the same list ? ps: you can still optimize that operation by using one big loop that wrap everything, as i think about it it might not improve performance since you will be making the same number or search but for sure it will reduce code and repetition Edited January 9 by MAARS
0 _yourram Posted January 10 Author Posted January 10 2 hours ago, MAARS said: You have just to check if the search result is empty. if (gg.getResultsCount() <= 0) then -- end --------- 1st Search Results ↓ gg.searchNumber("8243126118139469840", 32) gg.refineNumber("8243126118139469840", 32) local t = gg.getResults(gg.getResultsCount()) if (gg.getResultsCount() <= 0) then end for i,v in pairs(t) do t[i].address = t[i].address - 0xC t[i].flags = 4 t[i].value = 0 t[i].freeze = false gg.setValues(t) end local t = gg.getResults(10) for i,v in pairs(t) do t[i].address = t[i].address + 0x2C t[i].flags = 16 t[i].value = 0 t[i].freeze = true gg.addListItems(t) end gg.setValues(t) local t = gg.getResults(10) --------- for how many milliseconds do you want to spawn troll? (1 second = 1000) gg.sleep(1060) for i,v in pairs(t) do t[i].address = t[i].address + 0x2C t[i].flags = 16 t[i].value = 190 t[i].freeze = true gg.addListItems(t) end gg.setValues(t) gg.removeListItems(t) gg.clearResults() --------- 2nd Search Results ↓ gg.searchNumber("7243116118139472821", 32) gg.refineNumber("7243116118139472821", 32) local t = gg.getResults(gg.getResultsCount()) if (gg.getResultsCount() <= 0) then end for i,v in pairs(t) do t[i].address = t[i].address - 0xC t[i].flags = 4 t[i].value = 0 t[i].freeze = false gg.setValues(t) end local t = gg.getResults(10) for i,v in pairs(t) do t[i].address = t[i].address + 0x2C t[i].flags = 16 t[i].value = 0 t[i].freeze = true gg.addListItems(t) end gg.setValues(t) local t = gg.getResults(10) --------- for how many milliseconds do you want to spawn troll? (1 second = 1000) gg.sleep(1060) for i,v in pairs(t) do t[i].address = t[i].address + 0x2C t[i].flags = 16 t[i].value = 190 t[i].freeze = true gg.addListItems(t) end gg.setValues(t) gg.removeListItems(t) gg.clearResults() --- Am I doing it correctly? 2 hours ago, MAARS said: And i see some logic issue with the script 17 hours ago, _yourram said: local t = gg.getResults(10) Here you call getResult 10 but you called getResult 1 just earlier, would make sense if you skipped the 1st result but you did not 17 hours ago, _yourram said: t[i].flags = 16 are u using flags 16 and 4 in some place on purpose or you missed ? i am a little bit confused in this context --- 17 hours ago, _yourram said: is there any command by which if the 1st result is empty then the script starts searching the 2nd search results directly? maybe you didn't read my question properly, it gives only one result from 1st to 4th search and the result gets changed every time after "restart" Bruh, I just want the script to skip all first results and move on to the second search if the first result is empty.
0 MANDO01 Posted January 10 Posted January 10 42 minutes ago, _yourram said: maybe you didn't read my question properly, it gives only one result from 1st to 4th search and the result gets changed every time after "restart" Bruh, I just want the script to skip all first results and move on to the second search if the first result is empty. here you can do it like this or you can use function -- 1st Search Results ↓ gg.searchNumber("8243126118139469840", 32) gg.refineNumber("8243126118139469840", 32) -- Check if there are results if gg.getResultsCount() > 0 then local t = gg.getResults(1) for i,v in pairs(t) do t[i].address = t[i].address - 0xC t[i].flags = 4 t[i].value = 0 t[i].freeze = false gg.setValues(t) end local t = gg.getResults(10) for i,v in pairs(t) do t[i].address = t[i].address + 0x2C t[i].flags = 16 t[i].value = 0 t[i].freeze = true gg.addListItems(t) end gg.setValues(t) local t = gg.getResults(10) -- for how many milliseconds do you want to spawn troll? (1 second = 1000) gg.sleep(1060) for i,v in pairs(t) do t[i].address = t[i].address + 0x2C t[i].flags = 16 t[i].value = 190 t[i].freeze = true gg.addListItems(t) end gg.setValues(t) gg.removeListItems(t) gg.clearResults() else print("No results found for the 1st search. Moving to the 2nd search.") -- 2nd Search Results ↓ gg.searchNumber("7243116118139472821", 32) -- Continue with the rest of the script for the 2nd search... end
0 _yourram Posted January 10 Author Posted January 10 1 hour ago, MANDO01 said: -- 1st Search Results ↓ gg.searchNumber("8243126118139469840", 32) gg.refineNumber("8243126118139469840", 32) -- Check if there are results if gg.getResultsCount() > 0 then local t = gg.getResults(1) for i,v in pairs(t) do t[i].address = t[i].address - 0xC t[i].flags = 4 t[i].value = 0 t[i].freeze = false gg.setValues(t) end local t = gg.getResults(10) for i,v in pairs(t) do t[i].address = t[i].address + 0x2C t[i].flags = 16 t[i].value = 0 t[i].freeze = true gg.addListItems(t) end gg.setValues(t) local t = gg.getResults(10) -- for how many milliseconds do you want to spawn troll? (1 second = 1000) gg.sleep(1060) for i,v in pairs(t) do t[i].address = t[i].address + 0x2C t[i].flags = 16 t[i].value = 190 t[i].freeze = true gg.addListItems(t) end gg.setValues(t) gg.removeListItems(t) gg.clearResults() else print("No results found for the 1st search. Moving to the 2nd search.") -- 2nd Search Results ↓ gg.searchNumber("7243116118139472821", 32) -- Continue with the rest of the script for the 2nd search... end It is working but when I added 3rd search result I got error -- 1st Search Results ↓ gg.searchNumber("8243116118139640283", 32) gg.refineNumber("8243116118139640283", 32) -- Check if there are results if gg.getResultsCount() > 0 then local t = gg.getResults(1) for i,v in pairs(t) do t[i].address = t[i].address - 0xC t[i].flags = 4 t[i].value = 0 t[i].freeze = false gg.setValues(t) end local t = gg.getResults(10) for i,v in pairs(t) do t[i].address = t[i].address + 0x2C t[i].flags = 16 t[i].value = 0 t[i].freeze = true gg.addListItems(t) end gg.setValues(t) local t = gg.getResults(10) -- for how many milliseconds do you want to spawn troll? (1 second = 1000) gg.sleep(1060) for i,v in pairs(t) do t[i].address = t[i].address + 0x2C t[i].flags = 16 t[i].value = 190 t[i].freeze = true gg.addListItems(t) end gg.setValues(t) gg.removeListItems(t) gg.clearResults() else -- 2nd Search Results ↓ gg.searchNumber("8243116118138469840", 32) gg.refineNumber("8243116118138469840", 32) -- Check if there are results if gg.getResultsCount() > 0 then local t = gg.getResults(1) for i,v in pairs(t) do t[i].address = t[i].address - 0xC t[i].flags = 4 t[i].value = 0 t[i].freeze = false gg.setValues(t) end local t = gg.getResults(10) for i,v in pairs(t) do t[i].address = t[i].address + 0x2C t[i].flags = 16 t[i].value = 0 t[i].freeze = true gg.addListItems(t) end gg.setValues(t) local t = gg.getResults(10) -- for how many milliseconds do you want to spawn troll? (1 second = 1000) gg.sleep(1060) for i,v in pairs(t) do t[i].address = t[i].address + 0x2C t[i].flags = 16 t[i].value = 190 t[i].freeze = true gg.addListItems(t) end gg.setValues(t) gg.removeListItems(t) gg.clearResults() else -- 3rd Search Results ↓ gg.searchNumber("8243116618139970289", 32) gg.refineNumber("8243116618139970289", 32) -- Check if there are results if gg.getResultsCount() > 0 then local t = gg.getResults(1) for i,v in pairs(t) do t[i].address = t[i].address - 0xC t[i].flags = 4 t[i].value = 0 t[i].freeze = false gg.setValues(t) end local t = gg.getResults(10) for i,v in pairs(t) do t[i].address = t[i].address + 0x2C t[i].flags = 16 t[i].value = 0 t[i].freeze = true gg.addListItems(t) end gg.setValues(t) local t = gg.getResults(10) -- for how many milliseconds do you want to spawn troll? (1 second = 1000) gg.sleep(1060) for i,v in pairs(t) do t[i].address = t[i].address + 0x2C t[i].flags = 16 t[i].value = 190 t[i].freeze = true gg.addListItems(t) end gg.setValues(t) gg.removeListItems(t) gg.clearResults() else -- 4th Search Results ↓ gg.searchNumber("8233116118137472811", 32) gg.refineNumber("8233116118137472811", 32) -- Check if there are results if gg.getResultsCount() > 0 then local t = gg.getResults(1) for i,v in pairs(t) do t[i].address = t[i].address - 0xC t[i].flags = 4 t[i].value = 0 t[i].freeze = false gg.setValues(t) end local t = gg.getResults(10) for i,v in pairs(t) do t[i].address = t[i].address + 0x2C t[i].flags = 16 t[i].value = 0 t[i].freeze = true gg.addListItems(t) end gg.setValues(t) local t = gg.getResults(10) -- for how many milliseconds do you want to spawn troll? (1 second = 1000) gg.sleep(1060) for i,v in pairs(t) do t[i].address = t[i].address + 0x2C t[i].flags = 16 t[i].value = 190 t[i].freeze = true gg.addListItems(t) end gg.setValues(t) gg.removeListItems(t) gg.clearResults() end
0 _yourram Posted January 10 Author Posted January 10 [ @MANDO01 ] 4 hours ago, _yourram said: 6 hours ago, MANDO01 said: Expand It is working but when I added 3rd search result I got error I'm still trying to figure out what I did wrong. ---
0 _yourram Posted January 10 Author Posted January 10 (edited) 1 hour ago, _yourram said: [ @MANDO01 ] I'm still trying to figure out what I did wrong. --- I have found another way to do it but while doing it I'm facing a problem, gg.loadResults(gg.getListItems()) is giving me results but gg.loadResults(troll) is not giving me results. The question is "why"? function BOSS1() -- 1st Search Results ↓ gg.searchNumber("8243116118139470283", 32) gg.refineNumber("8243116118139470283", 32) troll = gg.getResults(gg.getResultsCount()) gg.addListItems(troll) -- 2nd Search Results ↓ gg.searchNumber("8243116118139479840", 32) gg.refineNumber("8243116118139479840", 32) troll = gg.getResults(gg.getResultsCount()) gg.addListItems( troll) -- 3rd Search Results ↓ gg.searchNumber("8143116118139470289", 32) gg.refineNumber("8143116118139470289", 32) troll = gg.getResults(gg.getResultsCount()) gg.addListItems(troll) -- 4th Search Results ↓ gg.searchNumber("9243116118139472811", 32) gg.refineNumber("9243116118139472811", 32) troll = gg.getResults(gg.getResultsCount()) gg.addListItems(troll) gg.clearResults() end function BOSS2() gg.loadResults(gg.getListItems()) -- Giving Results [ √ ] gg.loadResults(troll) -- Not Giving Results [ X ] os.exit() end Edited January 10 by _yourram
0 Count_Nosferatu Posted January 10 Posted January 10 (edited) 3 hours ago, _yourram said: I have found another way to do it but while doing it I'm facing a problem, gg.loadResults(gg.getListItems()) is giving me results but gg.loadResults(troll) is not giving me results. See the description of the gg.loadResults() command. https://gameguardian.net/help/classgg.html#ade5f40667e80938ba1678d0623fe7b82 Existing search results will be cleared. After executing gg.loadResults(gg.getListItems()) - "list" table is empty. In the "troll" table, results of last search.gg.searchNumber() and gg.refineNumber() You don't check the number of results found. Maybe it doesn't find anything. PS Script example is clearer if you highlight it as “code” Edited January 10 by Count_Nosferatu
0 _yourram Posted January 10 Author Posted January 10 【 @Count_Nosferatu 】 --- 15 minutes ago, Count_Nosferatu said: See the description of the gg.loadResults() command. https://gameguardian.net/help/classgg.html#ade5f40667e80938ba1678d0623fe7b82 Existing search results will be cleared. After executing gg.loadResults(gg.getListItems()) - "list" table is empty. In the "troll" table, results of last search.gg.searchNumber() and gg.refineNumber() You don't check the number of results found. Maybe it doesn't find anything. can you give me an example or can you correct me ↓ 4 hours ago, _yourram said: I have found another way to do it but while doing it I'm facing a problem, gg.loadResults(gg.getListItems()) is giving me results but gg.loadResults(troll) is not giving me results. The question is "why"? function BOSS1() -- 1st Search Results ↓ gg.searchNumber("8243116118139470283", 32) gg.refineNumber("8243116118139470283", 32) troll = gg.getResults(gg.getResultsCount()) gg.addListItems(troll) -- 2nd Search Results ↓ gg.searchNumber("8243116118139479840", 32) gg.refineNumber("8243116118139479840", 32) troll = gg.getResults(gg.getResultsCount()) gg.addListItems( troll) -- 3rd Search Results ↓ gg.searchNumber("8143116118139470289", 32) gg.refineNumber("8143116118139470289", 32) troll = gg.getResults(gg.getResultsCount()) gg.addListItems(troll) -- 4th Search Results ↓ gg.searchNumber("9243116118139472811", 32) gg.refineNumber("9243116118139472811", 32) troll = gg.getResults(gg.getResultsCount()) gg.addListItems(troll) gg.clearResults() end function BOSS2() gg.loadResults(gg.getListItems()) -- Giving Results [ √ ] gg.loadResults(troll) -- Not Giving Results [ X ] os.exit() end ---
Question
_yourram
[ @kiynox ] could this script be any better?
function menus()
choices = gg.choice({'Prepare spam','Search','Exit'})
if choices == nil then
os.exit()
else
if choices == 3 then
os.exit()
else
prepares(choices)
end
end
end
function prepares(choices)
if choices == 1 then
gg.clearResults()
gg.searchNumber("9;74;8.0", gg.TYPE_FLOAT)
gg.refineNumber('74', gg.TYPE_FLOAT)
chatspam = gg.getResults(gg.getResultsCount())
gg.addListItems(chatspam)
elseif choices == 2 then
gg.loadResults(chatspam)
gg.getResults(1000)
chatspam = gg.prompt({"Enter which letter you want to spam?(0 = A, 1 = B, 2 = C, 3 = D, 4 = E, 5 = F, 6 = G, 7 = H, 8 = I, 9 = J, 10 = K, 11 = L, 12 = M, 13 = N, 14 = O, 15 = P, 16 = Q, 17 = R, 18 = S, 19 = T, 20 = U, 21 = V, 22 = W, 23 = X, 24 = Y, 25 = Z)"},
{[1] ="0"},
{["1"] ="number"})
if chatspam == nil then
gg.alert("you haven't searched anything so the script will restart!")
return
end
gg.editAll(chatspam[1] ,gg.TYPE_FLOAT)
chatspam = gg.getResults(gg.getResultsCount())
end
end
knxs = false
while true do
if gg.isVisible(true) then
knxs = true
else
knxs = false
end
if knxs == true then
menus()
else
gg.setVisible(false)
end
end
Edited by _yourramTop Posters For This Question
21
7
4
2
Popular Days
Jan 10
14
Jan 12
10
Jan 8
6
Jan 9
3
Top Posters For This Question
_yourram 21 posts
kiynox 7 posts
MANDO01 4 posts
MAARS 2 posts
Popular Days
Jan 10 2024
14 posts
Jan 12 2024
10 posts
Jan 8 2024
6 posts
Jan 9 2024
3 posts
Popular Posts
kiynox
[ @_yourram ] --- if trex == nil then alert('It has to be at least 1 millisecond') return end You put 'return' here, it is wrong. 'return' statement is used to exit a function: LUA 4.4: brea
MANDO01
no problem i'm here for help 😇
MAARS
local utf8 = require("utf8") local chars = {} for i = utf8.codepoint("A"), utf8.codepoint("Z") do table.insert(chars, utf8.char(i)) end local ch = gg.choice(chars, 0, "Choose a letter to spam")
35 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now