-
Similar Content
-
- 1 answer
- 857 views
-
- 11 answers
- 2,887 views
-
- 25 answers
- 3,878 views
-
- 10 answers
- 3,344 views
-
- 3 answers
- 977 views
-
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.
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