function kd(Search,Get,Type,Range,Name) gg.clearResults() gg.setRanges(Range) gg.setVisible(false) if Search[1][1]~=false then gg.searchAddress(Search[1][1],0xFFFFFFFF,Search[1][4] or Type,gg.SIGN_EQUAL,Search[1][5] or 1,Search[1][6] or -1) end gg.searchNumber(Search[1][2],Search[1][4] or Type,false,gg.SIGN_EQUAL,Search[1][5] or 1,Search[1][6] or -1) local count=gg.getResultCount() local result=gg.getResults(count) gg.clearResults() local data={} local base=Search[1][3] if (count > 0) then for i,v in ipairs(result) do v.isUseful=true end for k=2,#Search do local tmp={} local offset=Search[k][2] - base local num=Search[k][1] for i,v in ipairs(result) do tmp[#tmp+1]={} tmp[#tmp].address=v.address+offset tmp[#tmp].flags=Search[k][3] or Type end tmp=gg.getValues(tmp) for i,v in ipairs(tmp) do if v.flags==16 or v.flags==64 then values=tostring(v.value):sub(1,6) num=tostring(num):sub(1,6) else values=v.value end if tostring(values)~=tostring(num) then result[i].isUseful=false end end end for i,v in ipairs(result) do if (v.isUseful) then data[#data+1]=v.address end end if (#data > 0) then local t,t_={},{} local base=Search[1][3] for i=1,#data do for k,w in ipairs(Get) do offset=w[2] - base if w[1]==false then t_[#t_+1]={} t_[#t_].address=data[i]+offset t_[#t_].flags=Type th_=(th_) and th_+1 or 1 else t[#t+1]={} t[#t].address=data[i]+offset t[#t].flags=w[3] or Type t[#t].value=w[1] tg_=(tg_) and tg_+1 or 1 if (w[4]==true) then local item={} item[#item+1]=t[#t] item[#item].freeze=w[4] gg.addListItems(item) end end end end tg=(tg_) and "\nKD GAMER"..tg_.."KD GAMER" or "" th=(th_) and "" or "" gg.setValues(t) t_=gg.getValues(t_) gg.loadResults(t_) gg.toast("\n"..Name..tg) tg_,th_=nil,nil else gg.toast("KD GAMER",false) return false end else gg.toast("KD GAMER") return false end 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 function kd(Nc,Type,Search,Write) gg.clearResults() gg.setRanges(Nc) gg.setVisible(false) gg.searchNumber(Search[1][1],Type) local count=gg.getResultCount() local result=gg.getResults(count) gg.clearResults() local data={} local base=Search[1][2] if(count>0)then for i,v in ipairs(result)do v.isUseful=true end for k=2,#Search do local tmp={} local offset=Search[k][2]-base local num=Search[k][1] for i,v in ipairs(result)do tmp[#tmp+1]={} tmp[#tmp].address=v.address+offset tmp[#tmp].flags=v.flags end tmp=gg.getValues(tmp) for i,v in ipairs(tmp)do if(tostring(v.value)~=tostring(num))then result[i].isUseful=false end end end for i,v in ipairs(result)do if(v.isUseful)then data[#data+1]=v.address end end if(#data>0)then gg.toast("\n KD GAMER"..#data.."data\n Start offset") local t={} local base=Search[1][2] for i=1,#data do for k,w in ipairs(Write)do offset=w[2]-base t[#t+1]={} t[#t].address=data[i]+offset t[#t].flags=Type t[#t].value=w[1] if(w[3]==true)then local item={} item[#item+1]=t[#t] item[#item].freeze=true gg.addListItems(item) end end end gg.setValues(t) gg.sleep(400) gg.toast("\n"..Name.."KD GAMER\n KD GAMER"..#t.."data") else gg.toast("\n"..Name.."KD GAMER") return false end else gg.toast("\n"..Name.."KD GAMER") return false end end function readWrite(Search,Get,Type,Range,Name) gg["clearResults"]() gg["setRanges"](Range) gg["setVisible"](false) if Search[1][1]~=false then _G["gg"]["searchAddress"](Search[1][1],0xFFFFFFFF,Search[1][4] or Type,_G["gg"]["SIGN_EQUAL"],Search[1][5] or 1,Search[1][6] or -1) end gg["searchNumber"](Search[1][2],Search[1][4] or Type,false,_G["gg"]["SIGN_EQUAL"],Search[1][5] or 1,Search[1][6] or -1) local count=gg["getResultCount"]() local result=gg["getResults"](count) gg["clearResults"]() local data={} local base=Search[1][3] if (count > 0) then for i,v in ipairs(result) do v.isUseful=true end for k=2,#Search do local tmp={} local offset=Search[k][2] - base local num=Search[k][1] for i,v in ipairs(result) do tmp[#tmp+1]={} tmp[#tmp].address=v.address+offset tmp[#tmp].flags=Search[k][3] or Type end tmp=gg["getValues"](tmp) for i,v in ipairs(tmp) do if v.flags==16 or v.flags==64 then values=tostring(v.value):sub(1,6) num=tostring(num):sub(1,6) else values=v.value end if tostring(values)~=tostring(num) then result[i].isUseful=false end end end for i,v in ipairs(result) do if (v.isUseful) then data[#data+1]=v.address end end if (#data > 0) then local t,t_={},{} local base=Search[1][3] for i=1,#data do for k,w in ipairs(Get) do offset=w[2] - base if w[1]==false then t_[#t_+1]={} t_[#t_].address=data[i]+offset t_[#t_].flags=Type th_=(th_) and th_+1 or 1 else t[#t+1]={} t[#t].address=data[i]+offset t[#t].flags=w[3] or Type t[#t].value=w[1] tg_=(tg_) and tg_+1 or 1 if (w[4]==true) then local item={} item[#item+1]=t[#t] item[#item].freeze=w[4] gg["addListItems"](item) end end end end tg=(tg_) and "\n modify"..tg_.."data" or "" th=(th_) and "" or "" gg["setValues"](t) t_=gg["getValues"](t_) gg["loadResults"](t_) gg["toast"]("\n"..Name..tg) tg_,th_=nil,nil else gg["toast"]("KD GAMER",false) return false end else gg["toast"]("KD GAMER") return false end 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.setRanges(qmnb[1]["memory"]) gg.searchNumber(qmnb[3]["value"], qmnb[3]["type"]) if gg.getResultCount() == 0 then gg.toast(qmnb[2]["name"] .. "KD GAMER") 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"]) if gg.getResultCount() == 0 then gg.toast(qmnb[2]["name"] .. "KD GAMER") 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"] .. "Successfully opened,Altogether modify" .. xgsl .. "Article data") else gg.toast(qmnb[2]["name"] .. "KD GAMER,KD GAMER") end end end end function SearchWrite(Search, Write, Type) gg.clearResults() gg.setVisible(false) gg.searchNumber(Search[1][1], Type) local count = gg.getResultCount() local result = gg.getResults(count) gg.clearResults() local data = {} local base = Search[1][2] if (count > 0) then for i, v in ipairs(result) do v.isUseful = true end for k=2, #Search do local tmp = {} local offset = Search[k][2] - base local num = Search[k][1] for i, v in ipairs(result) do tmp[#tmp+1] = {} tmp[#tmp].address = v.address + offset tmp[#tmp].flags = v.flags end tmp = gg.getValues(tmp) for i, v in ipairs(tmp) do if ( tostring(v.value) ~= tostring(num) ) then result[i].isUseful = false end end end for i, v in ipairs(result) do if (v.isUseful) then data[#data+1] = v.address end end if (#data > 0) then local t = {} local base = Search[1][2] for i=1, #data do for k, w in ipairs(Write) do offset = w[2] - base t[#t+1] = {} t[#t].address = data[i] + offset t[#t].flags = Type t[#t].value = w[1] if (w[3] == true) then local item = {} item[#item+1] = t[#t] item[#item].freeze = true gg.addListItems(item) end end end gg.setValues(t) gg.toast("KD GAMER,KD GAMER"..#t.."Article data") gg.addListItems(t) else gg.toast("KD GAMER,KD GAMER", false) return false end else gg.toast("KD GAMER") return false end end gg.setVisible(true) gg.setVisible(true) HOME = 1 function HOME() MN = gg.multiChoice({ "开启", " 关闭", "🥰别退出好不好🥰", },nil," 单加速") if MN == nil then else if MN[1] == true then A()end if MN[2] == true then B()end if MN[3] == true then EXIT()end end PUBGMH = -1 end function A() gg.clearResults() qmnb = { {["memory"] = gg.REGION_CODE_APP}, {["name"] = " shadow Lag Fix ✓ \n "}, {["value"] = -3.73078325e19, ["type"] = 16}, {["lv"] = -6.15262313e27, ["offset"] = 12, ["type"] = 16}, {["lv"] = -9.98393277e27, ["offset"] = 16, ["type"] = 16}, {["lv"] = -1.24646297e28, ["offset"] = 24, ["type"] = 16}, {["lv"] = -1.25855222e28, ["offset"] = 32, ["type"] = 16}, {["lv"] = -1.12218728e28, ["offset"] = 40, ["type"] = 16}, {["lv"] = -9.98876847e27, ["offset"] = 44, ["type"] = 16}, {["lv"] = -1.25033153e28, ["offset"] = 48, ["type"] = 16}, {["lv"] = -1.43167135e28, ["offset"] = 56, ["type"] = 16}, {["lv"] = -1.43989204e28, ["offset"] = 60, ["type"] = 16}, {["lv"] = -1.05255315e28, ["offset"] = 64, ["type"] = 16}, {["lv"] = -1.11493373e28, ["offset"] = 68, ["type"] = 16}, {["lv"] = -2.92625241e28, ["offset"] = 96, ["type"] = 16}, {["lv"] = -2.92721931e28, ["offset"] = 104, ["type"] = 16}, {["lv"] = -2.92528314e28, ["offset"] = 116, ["type"] = 16}, {["lv"] = -1.12605584e28, ["offset"] = 120, ["type"] = 16}, {["lv"] = -1.13427654e28, ["offset"] = 124, ["type"] = 16}, {["lv"] = -1.11735158e28, ["offset"] = 128, ["type"] = 16}, {["lv"] = 1.61716794e-27, ["offset"] = 208, ["type"] = 16}, {["lv"] = 2.52532605e-28, ["offset"] = 272, ["type"] = 16}, {["lv"] = -7.52317102e-37, ["offset"] = 316, ["type"] = 16}, {["lv"] = -7.52316564e-37, ["offset"] = 340, ["type"] = 16}, {["lv"] = 0.00048828148, ["offset"] = 480, ["type"] = 16}, {["lv"] = 0.00048828148, ["offset"] = 508, ["type"] = 16}, {["lv"] = 0.00048828148, ["offset"] = 536, ["type"] = 16}, {["lv"] = 100.0, ["offset"] = 680, ["type"] = 16}, } qmxg = { {["value"] = 0, ["offset"] = 12, ["type"] = 16}, {["value"] = 0, ["offset"] = 16, ["type"] = 16}, {["value"] = 0, ["offset"] = 24, ["type"] = 16}, {["value"] = 0, ["offset"] = 32, ["type"] = 16}, {["value"] = 0, ["offset"] = 40, ["type"] = 16}, {["value"] = 0, ["offset"] = 44, ["type"] = 16}, {["value"] = 0, ["offset"] = 48, ["type"] = 16}, {["value"] = 0, ["offset"] = 56, ["type"] = 16}, {["value"] = 0, ["offset"] = 60, ["type"] = 16}, {["value"] = 0, ["offset"] = 64, ["type"] = 16}, {["value"] = 0, ["offset"] = 68, ["type"] = 16}, {["value"] = 0, ["offset"] = 96, ["type"] = 16}, {["value"] = 0, ["offset"] = 104, ["type"] = 16}, {["value"] = 0, ["offset"] = 116, ["type"] = 16}, {["value"] = 0, ["offset"] = 120, ["type"] = 16}, {["value"] = 0, ["offset"] = 124, ["type"] = 16}, {["value"] = 0, ["offset"] = 128, ["type"] = 16}, {["value"] = 0, ["offset"] = 208, ["type"] = 16}, {["value"] = 0, ["offset"] = 272, ["type"] = 16}, {["value"] = 0, ["offset"] = 316, ["type"] = 16}, {["value"] = 0, ["offset"] = 340, ["type"] = 16}, {["value"] = 0, ["offset"] = 480, ["type"] = 16}, {["value"] = 0, ["offset"] = 508, ["type"] = 16}, {["value"] = 0, ["offset"] = 536, ["type"] = 16}, {["value"] = 0, ["offset"] = 680, ["type"] = 16}, } xqmnb(qmnb) gg.setVisible(false) gg.clearResults() so=gg.getRangesList('libUE4.so')[1].start py=0xCA1AF8 setvalue(so+py,16,-2.73959308e28) gg.toast("成功✓") Name = "flash " local Nc = 16392 local Lx = 32 local Sz1 = {{-1296744149883614555, 0}} local Sz2 = {{-1296744153870237696, 0}} kd(Nc, Lx, Sz1, Sz2) Name = "农村人加速" local Nc = 32 local Lx = 32 local Sz1 = {{4525216907414147695, 0}} local Sz2 = {{4525216907475015434, 0}} kd(Nc, Lx, Sz1, Sz2) Name = " ShaDow opp" local Nc = 16392 local Lx = 32 local Sz1 = {{-1328550408728725571, 0}} local Sz2 = {{-1328550408576460390, 0}} kd(Nc, Lx, Sz1, Sz2) Name = "👎👎👎👎👎" local Nc = 32 local Lx = 16 local Sz1 = {{10.0, 0},{46.0, 4}} local Sz2 = {{99999, 0}} kd(Nc, Lx, Sz1, Sz2) Name = " op" local Nc = 16392 local Lx = 32 local Sz1 = {{-1296744149883614555, 0}} local Sz2 = {{-1296744153870237696, 0}} kd(Nc, Lx, Sz1, Sz2) Name = "死妈东西 " local Nc = 16392 local Lx = 32 local Sz1 = {{-1505254313802431360, 0}} local Sz2 = {{-1505254313804169216, 0}} kd(Nc, Lx, Sz1, Sz2) Name = " for hack 6202357182" local Nc = 16392 local Lx = 32 local Sz1 = {{-1328550408728725571, 0}} local Sz2 = {{-1328550408581493555, 0}} kd(Nc, Lx, Sz1, Sz2) Name = "no ban enjoy" local Nc = 32 local Lx = 16 local Sz1 = {{10.0, 0},{46.0, 4}} local Sz2 = {{99999, 0}} kd(Nc, Lx, Sz1, Sz2) gg.toast("开启成功") end function B() so=gg.getRangesList('libUE4.so')[1].start py=0xCA1AF8 setvalue(so+py,16,-2.73959284e28) gg.toast("开启成功") Name = "操你妈" local Nc = 16392 local Lx = 32 local Sz1 = {{-1296744153870237696, 0}} local Sz2 = {{-1296744149883614555, 0}} kd(Nc, Lx, Sz1, Sz2) Name = "吊打印度" local Nc = 32 local Lx = 32 local Sz1 = {{4525216907475015434, 0}} local Sz2 = {{4525216907414147695, 0}} kd(Nc, Lx, Sz1, Sz2) Name = "父母双亡" local Nc = 16392 local Lx = 32 local Sz1 = {{-1328550408576460390, 0}} local Sz2 = {{-1328550408728725571, 0}} kd(Nc, Lx, Sz1, Sz2) Name = "飞起来" local Nc = 16392 local Lx = 32 local Sz1 = {{-1296744153870237696, 0}} local Sz2 = {{-1296744149883614555, 0}} kd(Nc, Lx, Sz1, Sz2) Name = "废物8X狗东西" local Nc = 16392 local Lx = 32 local Sz1 = {{-1505254313804169216, 0}} local Sz2 = {{-1505254313802431360, 0}} kd(Nc, Lx, Sz1, Sz2) Name = "废物废物" local Nc = 16392 local Lx = 32 local Sz1 = {{-1328550408581493555, 0}} local Sz2 = {{-1328550408728725571, 0}} kd(Nc, Lx, Sz1, Sz2) gg.toast("OFF") end function EXIT() print("╔死妈东西╝") gg.skipRestoreState() gg.setVisible(true) os.exit() end while true do if gg.isVisible(true) then PUBGMH = 1 gg.setVisible(false) end if PUBGMH == 1 then HOME() end end