Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Performing an action by clicking on the GG icon
- function doAction()
- menu=gg.choice({'Apply settings','Tap counter test','Minimize script','Exit'})
- if menu==3 then
- return nil
- end
- if menu==4 then
- os.exit()
- end
- if menu==2 then
- gg.clearResults()
- gg.searchNumber('1,865,084,696D;0D~100D;-1D:9',gg.TYPE_DWORD)
- gg.sleep(5000)
- gg.refineNumber('0~100',gg.TYPE_DWORD)
- t=gg.getResultsCount()
- if t<1 then
- gg.alert('HACK FAILED\n\nPlease change settings in apply settings')
- doAction()
- else
- gg.getResults(10)
- gg.editAll(999999999,gg.TYPE_DWORD)
- gg.clearResults()
- gg.alert('Hack success everything seems to be working fine taps have been set to 1 billion\n\nTap to refresh')
- doAction()
- end
- end
- if menu==1 then
- kuku=gg.choice({'settings 1','Settings 2'},nil,'Only use settings 2 if settings 1 fails')
- if kuku==1 then
- gg.setRanges(gg.REGION_C_HEAP | gg.REGION_C_ALLOC | gg.REGION_ANONYMOUS | gg.REGION_C_DATA | gg.REGION_C_BSS | gg.REGION_PPSSPP)
- gg.skipRestoreState()
- gg.toast('please wait')
- gg.sleep(10000)
- gg.alert('Settings 1 has been applied succesfully')
- doAction()
- end
- if kuku==2 then
- 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 )
- gg.skipRestoreState()
- gg.toast('please wait')
- gg.sleep(10000)
- gg.alert('Settings 2 has been applied succesfully')
- doAction()
- end
- end
- end
- gg.setVisible(false)
- doAction()
- while true do
- if gg.isVisible() then
- gg.setVisible(false)
- doAction()
- end
- gg.sleep(100)
- end
Advertisement
Add Comment
Please, Sign In to add comment