Rono_plays

GG SETTINGS

Jun 19th, 2019
1,105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.70 KB | None | 0 0
  1. -- Performing an action by clicking on the GG icon
  2. function doAction()
  3. menu=gg.choice({'Apply settings','Tap counter test','Minimize script','Exit'})
  4. if menu==3 then
  5. return nil
  6. end
  7. if menu==4 then
  8. os.exit()
  9. end
  10.  
  11.  
  12. if menu==2 then
  13. gg.clearResults()
  14. gg.searchNumber('1,865,084,696D;0D~100D;-1D:9',gg.TYPE_DWORD)
  15. gg.sleep(5000)
  16. gg.refineNumber('0~100',gg.TYPE_DWORD)
  17. t=gg.getResultsCount()
  18. if t<1 then
  19. gg.alert('HACK FAILED\n\nPlease change settings in apply settings')
  20. doAction()
  21. else
  22. gg.getResults(10)
  23. gg.editAll(999999999,gg.TYPE_DWORD)
  24. gg.clearResults()
  25. gg.alert('Hack success everything seems to be working fine taps have been set to 1 billion\n\nTap to refresh')
  26. doAction()
  27. end
  28. end
  29.  
  30.  
  31. if menu==1 then
  32. kuku=gg.choice({'settings 1','Settings 2'},nil,'Only use settings 2 if settings 1 fails')
  33.  
  34.  
  35. if kuku==1 then
  36. gg.setRanges(gg.REGION_C_HEAP | gg.REGION_C_ALLOC | gg.REGION_ANONYMOUS | gg.REGION_C_DATA | gg.REGION_C_BSS | gg.REGION_PPSSPP)
  37. gg.skipRestoreState()
  38. gg.toast('please wait')
  39. gg.sleep(10000)
  40. gg.alert('Settings 1 has been applied succesfully')
  41. doAction()
  42. end
  43.  
  44.  
  45.  
  46.  
  47. if kuku==2 then
  48.  
  49. gg.setRanges(gg.REGION_C_HEAP | gg.REGION_C_ALLOC | gg.REGION_ANONYMOUS | gg.REGION_JAVA_HEAP | gg.REGION_C_DATA | gg.REGION_C_BSS | gg.REGION_PPSSPP | gg.REGION_JAVA | gg.REGION_ASHMEM | gg.REGION_STACK | gg.REGION_OTHER | gg.REGION_BAD | gg.REGION_CODE_APP | gg.REGION_VIDEO )
  50. gg.skipRestoreState()
  51. gg.toast('please wait')
  52. gg.sleep(10000)
  53. gg.alert('Settings 2 has been applied succesfully')
  54. doAction()
  55. end
  56. end
  57. end
  58. gg.setVisible(false)
  59. doAction()
  60. while true do
  61. if gg.isVisible() then
  62. gg.setVisible(false)
  63. doAction()
  64. end
  65. gg.sleep(100)
  66.  
  67. end
Advertisement
Add Comment
Please, Sign In to add comment