function D()
gg.setRanges(gg.REGION_ANONYMOUS)
gg.getResults(gg.getResultsCount())
gg.clearResults()
gg.searchNumber("", gg.TYPE_DWORD)
gg.refineNumber("", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.startFuzzy(gg.TYPE_FLOAT, gg.getResults(1)[1].address - 100, gg.getResults(1)[1].address - 92)
gg.clearResults()
function doAction()
if gg.alert([[
PRESS THE CORRECT SIDE OF TO MAKE A GOAL
If you are in 0 to 45 min of the match press -
If you are in 45 to 90 minutes of the game press +]], "GOOOLLL +", "GOOOLLL -", "BACK") == 1 then
STM0[1].value = math.random(175, 177)
STM0[2].value = math.random(1, 5)
STM0[3].value = math.random(-5, 5)
gg.setValues(STM0)
end
if gg.alert([[
PRESS THE CORRECT SIDE OF TO MAKE A GOAL
If you are in 0 to 45 min of the match press -
If you are in 45 to 90 minutes of the game press +]], "GOOOLLL +", "GOOOLLL -", "BACK") == 2 then
STM0[1].value = math.random(-177, -175)
STM0[2].value = math.random(1, 5)
STM0[3].value = math.random(-5, 5)
gg.setValues(STM0)
end
if gg.alert([[
PRESS THE CORRECT SIDE OF TO MAKE A GOAL
If you are in 0 to 45 min of the match press -
If you are in 45 to 90 minutes of the game press +]], "GOOOLLL +", "GOOOLLL -", "BACK") == 3 then
gg.clearResults()
dosf()
end
end
gg.setVisible(false)
while true do
if gg.isVisible() then
gg.setVisible(false)
doAction()
end
end
end
im always getting this error
Script error: luaj.o: /storage/emulated/0/SCRIPT/Simple Multi menu.lua:41 STM0[1].value = math.random(175, 177) attempt to index? (a nil value) with key '1' (global 'STM0') level = 1, const = 24, proto = 0, upval = 1, vars = 5, code = 93 GETTABLE vo vo 1
can you guys help me please