Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function yote()
- gg.toast('Please wait')
- gg.clearResults()
- function searchText(text)
- local bytes = gg.bytes(text, 'UTF-16LE')
- local ret = ''
- for i, b in ipairs(bytes) do
- ret = ret .. ';' .. b
- end
- ret = ret:sub(2)..'::'..#bytes
- return gg.searchNumber(ret, gg.TYPE_BYTE)
- end
- function replaceText(text)
- local bytes = gg.bytes(text, 'UTF-16LE')
- local all = gg.getResults(100000)
- local len = #bytes
- for i, t in ipairs(all) do
- t.value = bytes[((i - 1) % len) + 1]
- end
- return gg.setValues(all)
- end
- searchText('SINGLE PLAYER')
- replaceText('RONOPLAYS.COM')
- gg.clearResults()
- searchText('LIGHTNING ROUND')
- replaceText('[RONO\'S PACKS.]')
- gg.clearResults()
- searchText('LIGHTNING ROUND')
- replaceText('[RONOPLAYS.COM]')
- gg.clearResults()
- searchText('ONLINE')
- replaceText('[RONO]')
- gg.clearResults()
- searchText('MY CLUB')
- replaceText('[PLAYS]')
- gg.clearResults()
- searchText('BUY PACKS')
- replaceText('[RONO\'S.]')
- gg.clearResults()
- searchText('MY PACKS')
- replaceText('[PACKS.]')
- end
- function write()
- ::START::
- local open = io.open
- local function read_file(path)
- local file = open(path, "rb")
- if not file then return nil end
- local content = file:read
- "*a"
- file:close()
- return content
- end
- Text = read_file('/storage/emulated/0/Android/data/com.pacybits.fut19draft/cache/unityads.png')
- if Text == nil then
- local file = io.open("/storage/emulated/0/Android/data/com.pacybits.fut19draft/cache/unityads.png", "w")
- file:write("1")
- file:close()
- else
- local check = Text
- num=tonumber(check)
- if Text==nil then
- goto START
- end
- if num==nil then
- local file = io.open("/storage/emulated/0/Android/data/com.pacybits.fut19draft/cache/unityads.png", "w")
- file:write(1)
- file:close()
- goto START
- end
- if num < 999999999.0 then
- local file = io.open("/storage/emulated/0/Android/data/com.pacybits.fut19draft/cache/unityads.png", "w")
- file:write(Text+1)
- file:close()
- else
- os.exit()
- end
- end
- if num==nil then
- goto START
- end
- end
- write()
- yote()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement