Jump to content
Sign in to follow this  
n3kitOzz

Why this not working (lua)

Recommended Posts

Why this not working(firerate changing):

Screenshot_2020-02-17-15-26-21-635_bin_mt_plus.thumb.jpg.f9b212207d23631a2d84c723f17c56bf.jpg

But here this working:(main code)

Screenshot_2020-02-17-15-26-29-387_bin_mt_plus.thumb.jpg.ab435979b20906e608bbe6c538d06e40.jpg

Share this post


Link to post
Share on other sites

35 minutes ago, n3kitOzz said:

Why this not working(firerate changing):


gg.setRanges(gg.REGION_ANONYMOUS)
gg.searchNumber('30', gg.TYPE_DWORD)
gg.stResults(10000)
gg.sleep(100)
gg.editAll('10000000', gg.TYPE_DWORD)
g.searchNumber("0.15", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(2000, nil, nil, nil, nil, nil, nil, nil, nil)
gg.editAll("0.005", gg.TYPE_FLOAT)
gg.toast('Firerate hacked')

But here this working:(recorded manually)


gg.searchNumber("0.15", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
revert = gg.getResults(2000, nil, nil, nil, nil, nil, nil, nil, nil)
gg.editAll("0.005", gg.TYPE_FLOAT)

 

 

[added 0 minutes later]

Edited.

Share this post


Link to post
Share on other sites
7 minutes ago, Enyby said:

This "not working" because you not provide text of error or clear description what happens instead of what you want. Nobody play with you on guessing game.

http://www.catb.org/~esr/faqs/smart-questions.html#idm573

No errors. Just no effect, if I do this manually, or load record - its working. But in my lua script this not working.

[added 1 minute later]

Cooldown of gun is 0.15, and data in anonymous region. Im founding all var-s, and change they to 0.005.

Share this post


Link to post
Share on other sites
20 minutes ago, n3kitOzz said:

if I do this manually

Use record feature for get script. After that compare results with your code.

Your code doing something wrong.

[added 2 minutes later]

gg.setRanges(gg.REGION_ANONYMOUS)
gg.searchNumber('30', gg.TYPE_DWORD)
gg.stResults(10000) -- stResults is nil
gg.sleep(100)
gg.editAll('10000000', gg.TYPE_DWORD)
g.searchNumber("0.15", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) -- g is nil, no clear previuos search resulta
gg.getResults(2000, nil, nil, nil, nil, nil, nil, nil, nil)
gg.editAll("0.005", gg.TYPE_FLOAT)
gg.toast('Firerate hacked')

 

Share this post


Link to post
Share on other sites
9 minutes ago, Enyby said:

Use record feature for get script. After that compare results with your code.

Your code doing something wrong.

[added 2 minutes later]


gg.setRanges(gg.REGION_ANONYMOUS)
gg.searchNumber('30', gg.TYPE_DWORD)
gg.stResults(10000) -- stResults is nil
gg.sleep(100)
gg.editAll('10000000', gg.TYPE_DWORD)
g.searchNumber("0.15", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) -- g is nil, no clear previuos search resulta
gg.getResults(2000, nil, nil, nil, nil, nil, nil, nil, nil)
gg.editAll("0.005", gg.TYPE_FLOAT)
gg.toast('Firerate hacked')

 

g.searchNumber... its error after copypasting here. In script this is gg.

Share this post


Link to post
Share on other sites

Im founded error. This code need more time to sleep.

Im appended sleep time and this working!

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Similar Content

    • By n3kitOzz
      Code change a value, but not freazing. Why?
      function flycontrol() gg.setVisible(false) controls_fly = gg.prompt({[1]='Y COORD [-700; 1000]'}, {nil}, {'number'}) if controls_fly == nil then menucode = 2 cheatmenu() else hidemenu() gg.editAll(controls_fly[1],gg.TYPE_FLOAT) gg.freeze = true end end  
    • By n3kitOzz
      Why is the function is executing after the second time? Even in the logs, everything is fine.
      Script:
      local gg = gg menucode = 1 gg.alert('\nDev: @n3kitOzz\nTelegram: @ssb2cheat') function main() menu = gg.choice({'Функции ', 'Выход '}) menucode = 1 if menu == nil then hidemenu() end if menu == 1 then cheatmenu() end if menu == 2 then os.exit() end end function cheatmenu() menucode = 2 cmenu = gg.choice({'♾ Бесконечные патроны', 'Годмод ', 'Темп стрельбы', 'Хилпушка(скоро) ', 'На главную', 'Выйти'}) if cmenu == nil then hidemenu() end if cmenu == 1 then inf_ammo() end if cmenu == 2 then godmode() end if cmenu == 3 then firerate() end if cmenu == 4 then healgun() end if cmenu == 5 then main() end if cmenu == 6 then os.exit() end end function inf_ammo() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber('444418', gg.TYPE_DWORD) gg.sleep(2000) gg.getResults(10000) gg.sleep(3000) gg.editAll('100000000', gg.TYPE_DWORD) gg.sleep(300) gg.toast('Ammo hacked') gg.sleep(100) gg.alert('Теперь у вас миллионы патронов') end function firerate() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber('0.15244479477', gg.TYPE_FLOAT) gg.sleep(2000) gg.getResults(100000) gg.sleep(1000) gg.editAll('0.001', gg.TYPE_FLOAT) gg.sleep(3000) gg.toast('Firerate hacked') gg.alert('Повышен темп стрельбы у ак и скар.') end function godmode() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber('1132809191', gg.TYPE_DWORD) gg.sleep(2000) a = gg.getResults(10000) gg.sleep(1000) gg.editAll('2000000000', gg.TYPE_DWORD) gg.sleep(500) gg.freeze = true gg.sleep(300) gg.freezeType = FREEZE_NORMAL gg.sleep(399) gg.toast('You are GOOOOOD!') end function megadamage() end function healgun() end function hidemenu() gg.sleep(100) gg.toast('Меню скрыто') gg.setVisible(false) end while true do if gg.isVisible(true) then if menucode == 1 then main() elseif menucode == 2 then cheatmenu() else main() end end end And logs:
      gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("0.15244479477", gg.TYPE_FLOAT) gg.getResults(100000) gg.editAll("0.001", gg.TYPE_FLOAT) gg.toast("Firerate hacked") gg.alert("Повышен темп стрельбы у ак и скар.") BUT HERE IS NO EFFECT, AND NOTHING HAPPEND. --[[ return: 1 ]] gg.choice({ -- table(1498f91) [1] = '♾ Бесконечные патроны', [2] = 'Годмод ', [3] = 'Темп стрельбы', [4] = 'Хилпушка(скоро) ', [5] = 'На главную', [6] = 'Выйти', }) --[[ return: 3 ]] gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("0.15244479477", gg.TYPE_FLOAT) gg.getResults(100000) gg.editAll("0.001", gg.TYPE_FLOAT) gg.toast("Firerate hacked") gg.alert("Повышен темп стрельбы у ак и скар.") --[[ return: 1 ]] AND AFTER SECOND CALL THIS WORKED  
    • By Darkness442
      hello 

      I want know how can set licence key to my script and if it set a wrong licence the script stop working 
      thank you 
    • By danihelios10
      Look that video,anyone know how to do it, if anyone knows i can explain how to hack stats 
    • By argarrize
      Pocong Hunter — 
      🇮🇩 Woi njir script pertama gua nih
      🇺🇸 Hello Everyone this my first post 
      Feature look at screenshot
       
      Password : 333
      sorry im forget to add password
×
×
  • Create New...