Because on this game i found a way to hack god mode without taking a damage but the thing is it get detected if the value is for example 6 is the base value and if i change it to 7 i'll activate god mode but i'll get disconnected if it stays to 7 throughout the time so i got an idea from this video that i need to code a lua where i can edit a value continously so i can bypass the detection well this code i putted ye it works but i need to click the gg everytime so the value will revert which is really slow compare to the video i uploaded sorry for my english btw.
if gg.isVisible(true) then
gg.setVisible(false)
end
gg.clearResults()
gg.toast('Welcome')
lua = 1
function main()
menu = gg.choice({'GodMode', 'Exit'}, nil, 'LanzNoLimit')
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
lanzpro
How do u edit a value continously while not opening gg? Can anyone give me template lua? Here's a example:
How would i apply it on my code?
I already coded it as when i click i can change the value to original value source :
Examples of Lua scripts (#8et4jmez)Because on this game i found a way to hack god mode without taking a damage but the thing is it get detected if the value is for example 6 is the base value and if i change it to 7 i'll activate god mode but i'll get disconnected if it stays to 7 throughout the time so i got an idea from this video that i need to code a lua where i can edit a value continously so i can bypass the detection well this code i putted ye it works but i need to click the gg everytime so the value will revert which is really slow compare to the video i uploaded sorry for my english btw.
if gg.isVisible(true) then
gg.setVisible(false)
end
gg.clearResults()
gg.toast('Welcome')
lua = 1
function main()
menu = gg.choice({'GodMode', 'Exit'}, nil, 'LanzNoLimit')
if menu == 1 then a() end
if menu == 3 then c() end
if menu == nil then choice(none) end
lua = -1
end
function choice(none)
os.exit()
end
function a()
gg.setRanges(gg.REGION_ANONYMOUS)
gg.searchNumber('112;15:5', gg.TYPE_DWORD)
gg.refineNumber ("15",gg.TYPE_DWORD)
gg.getResults(1500)
gg.editAll('16', gg.TYPE_DWORD)
gg.toast('GodMode')
gg.sleep(100)
gg.clearResults()
gg.toast('touch NonGodMode')
gg.sleep(100)
gg.setVisible(false)
while true do
if gg.isVisible() then
gg.setVisible(false)
ov()
end
end
end
function ov()
gg.setRanges(gg.REGION_ANONYMOUS)
gg.searchNumber('112;16:5', gg.TYPE_DWORD)
gg.refineNumber ("16",gg.TYPE_DWORD)
gg.getResults(1500)
gg.editAll('15', gg.TYPE_DWORD)
gg.toast('NonGodMode')
gg.sleep(100)
gg.clearResults()
gg.toast('touch GodMode')
gg.sleep(100)
gg.setVisible(false)
while true do
if gg.isVisible() then
gg.setVisible(false)
a()
end
end
end
function c()
gg.clearResults()
os.exit()
end
while(true) do
if gg.isVisible(true) then
lua = 1
gg.setVisible(false)
end
gg.clearResults()
if lua == 1 then
main()
end
end
3 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.