function PS() end function setvalue(address,flags,value) PS('Modify address value (address, numeric type, value to be modified)') local tt={} tt[1]={} tt[1].address=address tt[ 1].flags=flags tt[1].value=value gg.setValues(tt) end function split(szFullString, szSeparator) local nFindStartIndex = 1 local nSplitIndex = 1 local nSplitArray = {} while true do local nFindLastIndex = string.find(szFullString, szSeparator, nFindStartIndex) if not nFindLastIndex then nSplitArray[nSplitIndex] = string.sub(szFullString, nFindStartIndex, string.len(szFullString)) break end nSplitArray[nSplitIndex] = string.sub(szFullString, nFindStartIndex, nFindLastIndex - 1) nFindStartIndex = nFindLastIndex + string.len(szSeparator) nSplitIndex = nSplitIndex + 1 end return nSplitArray end function xgxc(szpy, qmxg) for x = 1, #(qmxg) do xgpy = szpy + qmxg[x]["offset"] xglx = qmxg[x]["type"] xgsz = qmxg[x]["value"] xgdj = qmxg[x]["freeze"] if xgdj == nil or xgdj == "" then gg.setValues({[1] = {address = xgpy, flags = xglx, value = xgsz}}) else gg.addListItems({[1] = {address = xgpy, flags = xglx, freeze = xgdj, value = xgsz}}) end xgsl = xgsl + 1 xgjg = true end end function xqmnb(qmnb) gg.clearResults() gg.setVisible(false) gg.setRanges(qmnb[1]["memory"]) gg.searchNumber(qmnb[3]["value"], qmnb[3]["type"]) if gg.getResultCount() == 0 then gg.toast(qmnb[2]["name"] .. " Failed") else gg.refineNumber(qmnb[3]["value"], qmnb[3]["type"]) gg.refineNumber(qmnb[3]["value"], qmnb[3]["type"]) gg.refineNumber(qmnb[3]["value"], qmnb[3]["type"]) xx=gg.getResultCount() if gg.getResultCount() == 0 then gg.toast(qmnb[2]["name"] .. " Failed") else sl = gg.getResults(999999) sz = gg.getResultCount() xgsl = 0 if sz > 999999 then sz = 999999 end for i = 1, sz do pdsz = true for v = 4, #(qmnb) do if pdsz == true then pysz = {} pysz[1] = {} pysz[1].address = sl[i].address + qmnb[v]["offset"] pysz[1].flags = qmnb[v]["type"] szpy = gg.getValues(pysz) pdpd = qmnb[v]["lv"] .. ";" .. szpy[1].value szpd = split(pdpd, ";") tzszpd = szpd[1] pyszpd = szpd[2] if tzszpd == pyszpd then pdjg = true pdsz = true else pdjg = false pdsz = false end end end if pdjg == true then szpy = sl[i].address xgxc(szpy, qmxg) end end if xgjg == true then gg.toast(qmnb[2]["name"] .. "\nFound: "..xx.." Edited: " .. xgsl .. "") else gg.toast(qmnb[2]["name"] .. " Failed") end end end gg.clearResults() end function setvalue(address,flags,value) local tt={} tt[1]={} tt[1].address=address tt[1].flags=flags tt[1].value=value gg.setValues(tt) end local hex = {} function patch(lib,offset,edit,type) local ranges = gg.getRangesList(lib) local xy = {} xy[1] = {} xy[1].address = ranges[1].start + offset xy[1].flags = type xy[1].value = edit gg.setValues(xy) end RX = - 1 function HOME() RX = gg.multiChoice({ "Logo", "Lobby", "WALLHACK ", "AIMBOT", "CrossHair", "NoSpread", "empty", "empty", "EXIT", },nil, (os.date("R6X9YT"))) if RX == nil then else if RX[1] == true then Logo()end if RX[2] == true then Crash()end if RX[3] == true then Lobby()end if RX[4] == true then WallHack()end if RX[5] == true then AimBot()end if RX[6] == true then FastNo()end if RX[7] == true then cbr4m ()end if RX[8] == true then HeadShot()end if RX[9] == true then EXIT()end end RX = - 1 end function Logo() so = gg.getRangesList('libanogs.so')[1].start py = 0x3A0028 setvalue(so+py,4,0) so = gg.getRangesList('libanogs.so')[1].start py = 0x43E8C setvalue(so+py,4,0) gg.toast("ʙʏᴘᴀss ʟᴏɢᴏ ᴀᴄᴛɪᴠᴀᴛᴇᴅ") gg.alert("ᴀɴᴛɪ ᴄʀᴀsʜ ᴅᴏɴᴇ") end function Crash() so = gg.getRangesList('libanogs.so')[1].start py = 0x1285 setvalue(so+py,4,0) gg.toast("ʙʏᴘᴀss Lobby ᴀᴄᴛɪᴠᴀᴛᴇᴅ") end function Lobby() so = gg.getRangesList("libil2cpp.so")[1].start py = 0x5456f8c setvalue(so + py, 4, 0) gg.toast("WALLHACK ᴀᴄᴛɪᴠᴀᴛᴇᴅ") end function WallHack() so = gg.getRangesList("libunity.so")[1].start py = 0x364ba8 setvalue(so + py, 16, 0) so = gg.getRangesList("libunity.so")[1].start py = 0x364cb4 setvalue(so + py, 16, 0) gg.toast("AIMBOT ᴀᴄᴛɪᴠᴀᴛᴇᴅ") end function AimBot() so = gg.getRangesList("libil2cpp.so")[1].start py = 0x47da1ec setvalue(so + py, 16, 0) so = gg.getRangesList("libil2cpp.so")[1].start py = 0x6547960 setvalue(so + py, 16, 0) so = gg.getRangesList("libil2cpp.so")[1].start py = 0x65479ec setvalue(so + py, 16, 0) gg.toast("CrossHair ᴀᴄᴛɪᴠᴀᴛᴇᴅ") end function FastNo() so = gg.getRangesList("libil2cpp.so")[1].start py = 0x2918e2c setvalue(so + py, 16, 1) so = gg.getRangesList("libil2cpp.so")[1].start py = 0x2931f3c setvalue(so + py, 16, 1) gg.toast("NoSpread ᴀᴄᴛɪᴠᴀᴛᴇᴅ") end function EXIT() gg.skipRestoreState() gg.setVisible(true) os.exit() end while true do if gg.isVisible(true) then RX = 1 gg.setVisible(false) end if RX == 1 then HOME() end end