lua打和平精英帮助记得使用时间作者懒得更新

 gg.setVisible(false)    do  gg.toast("当前环境检测中!")  A=os.time()  gg.sleep(1000)      B=os.time()  C=B-A  if C == 1 then  gg.toast("当前使用环境正常!")  else  os.exit(gg.alert("检测到当前环境存在破解行为!"))  while  C ~= 1 do  print("使用环境异常!")  end  end  end  function jie64(jiemib64)    local b64chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'    local temp={}    for i=1,64 do        temp[string.sub(b64chars,i,i)] = i    end    temp['=']=0    local str=''    for i=1,#jiemib64,4 do        if i>#jiemib64 then            break        end        local data = 0        local str_count=0        for j=0,3 do            local str1=string.sub(jiemib64,i+j,i+j)            if not temp[str1] then                return            end            if temp[str1] < 1 then                data = data * 64            else                data = data * 64 + temp[str1]-1                str_count = str_count + 1            end        end        for j=16,0,-8 do            if str_count > 0 then                str=str..string.char(math.floor(data/math.pow(2,j)))             data=math.fmod(data,math.pow(2,j))                str_count = str_count - 1            end        end    end    local last = tonumber(string.byte(str, string.len(str), string.len(str)))    if last == 0 then        str = string.sub(str, 1, string.len(str) - 1)    end    return str end     function jia64(jiamib64)    local b64chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'    local s64 = ''    local str = jiamib64    while #str > 0 do        local bytes_num = 0        local buf = 0         for byte_cnt=1,3 do            buf = (buf * 256)            if #str > 0 then                buf = buf + string.byte(str, 1, 1)                str = string.sub(str, 2)                bytes_num = bytes_num + 1            end        end         for group_cnt=1,(bytes_num+1) do            local b64char = math.fmod(math.floor(buf/262144), 64) + 1            s64 = s64 .. string.sub(b64chars, b64char, b64char)            buf = buf * 64        end         for fill_cnt=1,(3-bytes_num) do            s64 = s64 .. '='        end    end    return s64 end        function pdlx(n)     if type(n)=="number" then        return "yes"    else        return    "no"    end end     function jia4(HcX)      HcX=""..string.lower(HcX)      shuzu={}    for i=1,string.len(HcX) do    shuzu[i]=string.sub(HcX,i,i)    end   HcXjm={}   for k,v in ipairs(shuzu) do       if v == "1" then       HcXjm[k]=""       elseif v == "2" then       HcXjm[k]=""       elseif v == "3" then       HcXjm[k]=""       elseif v == "4" then     HcXjm[k]=""       elseif v == "5" then       HcXjm[k]=""       elseif v == "6" then       HcXjm[k]=""       elseif v == "7" then       HcXjm[k]=""      elseif v == "8" then       HcXjm[k]=""       elseif v == "9" then      HcXjm[k]=""       elseif v == "0" then       HcXjm[k]=""       end    end    HcXjiami=string.upper(table.concat(HcXjm))    return ""..HcXjiami    end          function jie4(HcXjiemi)    HcXjiemi=""..HcXjiemi    shuzujie={}    for i= 1,#HcXjiemi,4 do    if i >= 4 then    k=i-1+4   nnn=k/4  else  G=1   k=4   nnn=1    end   shuzujie[nnn]=string.sub(HcXjiemi,i,k)    end    HcXjiem={}    for k,v in ipairs(shuzujie) do      if v == "" then       HcXjiem[k]="1"       elseif v == "" then       HcXjiem[k]="2"       elseif v == "" then       HcXjiem[k]="3"      elseif v == "" then      HcXjiem[k]="4"       elseif v == "" then       HcXjiem[k]="5"       elseif v == "" then       HcXjiem[k]="6"       elseif v == "" then       HcXjiem[k]="7"       elseif v == "" then       HcXjiem[k]="8"      elseif v == "" then       HcXjiem[k]="9"      elseif v == "" then       HcXjiem[k]="0"       end     end  HcXjiemi=table.concat(HcXjiem)   return ""..HcXjiemi   end           function isH4(HcXjiemi)   zql=#HcXjiemi   OK=zql/4    HcXjiemi=""..HcXjiemi    shuzujie={}    for i= 1,#HcXjiemi,4 do    if i >= 4 then   k=i-1+4   nnn=k/4   else  G=1   k=4    nnn=1    end    shuzujie[nnn]=string.sub(HcXjiemi,i,k)    end    HcXjiem={}     MAX=0   for k,v in ipairs(shuzujie) do       if v == "" then       MAX=MAX+1       elseif v == "" then       MAX=MAX+1       elseif v == "" then       MAX=MAX+1       elseif v == "" then       MAX=MAX+1       elseif v == "" then       MAX=MAX+1       elseif v == "" then       MAX=MAX+1       elseif v == "" then       MAX=MAX+1       elseif v == "" then       MAX=MAX+1       elseif v == "" then       MAX=MAX+1       elseif v == "" then       MAX=MAX+1       end      end    if MAX ==  OK then    return  true     else    return false   end   end    function kami()    HcXkmxt = gg.prompt({    "输入卡密:",    "?获取卡密"  }, {   [1] = max,   [2] = false      }, {    [1] = "text",    [2] = "checkbox"  })  if HcXkmxt==nil then  while true do  os.exit(print("你选择了退出"))  end  while true do  end  end  if HcXkmxt[2] == true then  while true do   gg.copyText("2510573782")    os.exit(print("购卡联系方式复制成功!"))    end    while true do    end  end    file=io.output(gg.getFile()..".lua")   io.write(HcXkmxt[1])    io.close()    mimi=HcXkmxt[1]      end       do       file= io.open(gg.getFile()..".lua","r")       if  file == nil then      kami()     else    file = io.open(gg.getFile()..".lua", "r")      max=file:read("*a")     file:close()      kami()     end     end    yaoshi=1314520    mimi1=jie64(mimi)      mimi2=tonumber(mimi1)     pdlxs=pdlx(mimi2)      if mimi1 == nil then     gg.alert("请输入有效值?","")     os.exit(print("请输入有效值?"))    while true do    end    end    if pdlxs == "no" then   gg.alert("非有效值?","")   os.exit(print("非有效值?"))  while true do   end   else   mimi2=mimi1-yaoshi   shijian1=""..os.time()   shijian2=jia64(shijian1)   shijian=jie64(shijian2)   kmcg=0   end   wangzhi="http://www.iyuji.cn/iyuji/s/Y2lnQ2FPTm5ETlVLR3poN3JacUlSdz09/1594567766512210"    xinxi=gg.makeRequest(wangzhi).content     for i= 1,100000000 do      xlh1=xinxi:match(i.."【序列号】(.-)【序列号】")     xianshi1=xinxi:match(i.."【限时】(.-)【限时】")     if xlh1 == nil then     break   elseif xianshi1 == nil then     break     end     H4jm=isH4(xlh1)       H4jm1=isH4(xianshi1)     if H4jm  ==  false then    xlh=jie64(xlh1)     xianshi=jie64(xianshi1)    else    xlh=jie4(xlh1)   xianshi=jie4(xianshi1)   end     if  mimi2 ==  xlh then    kmcg1=kmcg+1     SS=tonumber(xianshi)-tonumber(shijian)    TT=SS/86400     yonghuxh=i     end     end    if SS == nil then    gg.toast("卡密错误!")   os.exit(print("卡密错误"))   while true do    end    end    if SS <= 0 then    gg.toast("卡密到期!")   os.exit(print("卡密到期!"))     while true do   end    end    if kmcg1 ~= 0 then     gg.toast("登陆成功!\n剩余使用时间:"..SS.."秒")     else     gg.toast("卡密错误!")     os.exit(print("卡密错误"))     while true do     end     end     function chaxun()   gg.alert("用户序号:"..yonghuxh.."\n剩余使用时间:"..SS.."秒\n".."剩余使用时间:"..TT.."天")   end   gg.setVisible(true)      
--调用chaxun()即可查询剩余使用时间,以及用户信息
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 gg.toast("搜索到"..#data.."条数据")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("开启成功已修改"..#t.."条数据") gg.addListItems(t) else gg.toast("开启失败", false) return false end else
    gg.toast("开启失败(此版本为1.0)禁止盗卖") return false end end 
---------------------------------------------------------------------------------------------------------------ARAN---------------------------------------------------------------------------------------------------------------
function yiyz_Main()
  SN = gg.choice({
    "zz人物功能",
    "zz干架功能",
    "zz常用功能",
    "zz稳定功能",
    "退出脚本",
  }, nil,"zz免费脚本1.0,北京时间:"..sj)
  if SN == 1 then A() end
  if SN == 2 then B() end
  if SN == 3 then C() end
  if SN == 4 then D() end
  if SN == 5 then Exit() end
  XGCK = -1
end
---------------------------------------------------------------------------------------------------------------ARAN---------------------------------------------------------------------------------------------------------------
function A()
  menu1 = gg.multiChoice({
    "人物天线",
    "人物上色",
    "人物趴下加速",
    "趴下加速关闭",
    "高光打开",
    "高光关闭",
    "蹲下路飞(新版本)",
    "全图除草",
    "水下行走开启",
    "水下行走关闭",
    "返回菜单",
  }, nil,"zz(1.0版本)北京时间:"..sj)
  if menu1 == nil then else
    if menu1[1] == true then A1() end
    if menu1[2] == true then A2() end
    if menu1[3] == true then A3() end
    if menu1[4] == true then A4() end
    if menu1[5] == true then A5() end
    if menu1[6] == true then A6() end
    if menu1[7] == true then A7() end
    if menu1[8] == true then A8() end
    if menu1[9] == true then A9() end
    if menu1[10] == true then A10() end
    if menu1[11] == true then HOME() end
  end
  GLWW=-1
end
---------------------------------------------------------------------------------------------------------------ARAN---------------------------------------------------------------------------------------------------------------
function B()
  menu2 = gg.multiChoice({
    "最强死锁",
    "全屏死锁",
    "手枪全开",
    "冲锋全开",
    "双持全开",
    "改装全开",
    "半动全开",
    "AKM全开",
    "QBZ全开",
    "M416全开",
    "狙击秒换",
    "返回选项",
  }, nil,"先祝你们打架顺利!(免费脚本1.0),北京时间:"..sj)
  if menu2 == nil then else
    if menu2[1] == true then B1() end
    if menu2[2] == true then B2() end
    if menu2[3] == true then B3() end
    if menu2[4] == true then B4() end
    if menu2[5] == true then B5() end
    if menu2[6] == true then B6() end
    if menu2[7] == true then B7() end
    if menu2[8] == true then B8() end
    if menu2[9] == true then B9() end
    if menu2[10] == true then B10() end
    if menu2[11] == true then B11() end
    if menu2[12] == true then HOME() end
  end
  GLWW=-1
end
---------------------------------------------------------------------------------------------------------------ARAN---------------------------------------------------------------------------------------------------------------
function C()
  menu3 = gg.multiChoice({
    "稳定小范围(配合自瞄哈兄弟)",
    "超稳刀范围(只能用刀)",
    "八倍镜开启",
    "八倍镜关闭",
    "枪瞄视角",
    "测试",
    "黑天变白天",
   "返回菜单",
  }, nil,"(免费脚本1.0)祝大家天天开心快乐Q,北京时间:"..sj)
  if menu3 == nil then else
    if menu3[1] == true then C1() end
    if menu3[2] == true then C2() end
    if menu3[3] == true then C3() end
    if menu3[4] == true then C4() end
    if menu3[5] == true then C5() end
    if menu3[6] == true then C6() end
    if menu3[7] == true then C7() end
    if menu3[8] == true then C8() end
    if menu3[9] == true then HOME() end
  end
  GLWW=-1
end
---------------------------------------------------------------------------------------------------------------ARAN---------------------------------------------------------------------------------------------------------------
function D()
  menu4 = gg.multiChoice({
    "注入飞天",
    "变数飞天",
    "隔墙吸弹",
    "注入防封",
    "断网穿墙",
    "地下建家",
    "返回选项",
  },nil,"(免费脚本1.0)别开飞天不会用就别开不然飞死你,北京时间:"..sj)
  if menu4 == nil then else
    if menu4[1] == true then D1() end
    if menu4[2] == true then D2() end
    if menu4[3] == true then D3() end
    if menu4[4] == true then D4() end
    if menu4[5] == true then D5() end
    if menu4[6] == true then D6() end
    if menu4[7] == true then HOME() end
  end
  GLWW=-1
end

function A1()
  gg.clearResults()
  gg.setRanges(4)
  gg.searchNumber("0.16947640479", gg.REGION_C_BSS, false, gg.SIGN_FUZZY_EQUAL, 0, -1)
  gg.getResults(9999)
  gg.editAll("-9999", gg.REGION_C_BSS)
  gg.clearResults()
  gg.setRanges(4)
  gg.searchNumber("0.16947640479", gg.REGION_C_BSS, false, gg.SIGN_FUZZY_EQUAL, 0, -1)
  gg.getResults(9999)
  gg.editAll("-9999", gg.REGION_C_BSS)
  gg.clearResults()
  gg.toast("人物天线开启成功")
end

function A2()
  gg.clearResults()
  gg.setRanges(gg.REGION_BAD)
  gg.searchNumber("2.0;-1.0;1.0;0.00001", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
  gg.searchNumber("1", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
  gg.getResults(100)
  gg.editAll("999", gg.TYPE_FLOAT)
  gg.toast("人物白色")
  gg.clearResults()
  gg.clearList()
end

function A3()
  gg.clearResults()
  gg.setRanges(gg.REGION_CODE_APP)
  gg.searchNumber("-7.4975935e19;-1.0239434e32;-2.0:41",gg.TYPE_FLOAT,false,gg.SIGN_EQUAL,0, -1)
  gg.searchNumber("-2",gg.TYPE_FLOAT,false,gg.SIGN_EQUAL,0, -1)
  gg.getResults(100)
  gg.editAll("-11",gg.TYPE_FLOAT)
  gg.toast("趴下加速开启成功")
end

function A4()
  gg.clearResults()
  gg.setRanges(gg.REGION_CODE_APP)
  gg.searchNumber("-7.4975935e19;-1.0239434e32;-11:41",gg.TYPE_FLOAT,false,gg.SIGN_EQUAL,0, -1)
  gg.searchNumber("-11",gg.TYPE_FLOAT,false,gg.SIGN_EQUAL,0, -1)
  gg.getResults(100)
  gg.editAll("-2",gg.TYPE_FLOAT)
  gg.toast("趴下加速关闭")
end

function A5()
  gg.setRanges(16384)
  SearchWrite({{-2.7859868E28, 0},{0.0549999997, -4},{0.04044999927, -8}}, {{2,-4,false}},
  gg.REGION_C_BSS, ("高光开启中……"))
  gg.clearList()
  gg.toast("高光 - 开启成功")
end

function A6()
  gg.setRanges(16384)
  SearchWrite({{-2.7859868E28, 0},{2, -4},{0.04044999927, -8}}, {{0.0549999997,-4,false}},
  gg.REGION_C_BSS, ("关闭高光中……"))
  gg.clearList()
  gg.toast("夜视仪 - 已关闭")
end

function A7()
  gg.clearResults()
  gg.setRanges(gg.REGION_C_ALLOC)
  gg.searchNumber("-0.31400001049;0.02710000053;-0.09340000153;-0.02099999972", gg.TYPE_FLOAT,false,gg.SIGN_EQUAL,0, -1)
  gg.searchNumber("-0.31400001049",gg.TYPE_FLOAT,false,gg.SIGN_EQUAL,0,-1)
  gg.getResults(10000)
  gg.editAll("-3.2135418",gg.TYPE_FLOAT)
  gg.toast("路飞已开启")
  gg.clearResults()
end

function A8()
  gg.setRanges(131072)
  gg.clearResults()
  gg.searchNumber("3.7314056e-40", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
  gg.getResults(3)
  gg.editAll("0", gg.TYPE_FLOAT)
  gg.toast("除草已开启")
  gg.clearResults()
end

function A9()
gg.clearResults()
gg.setRanges(4)
gg.searchNumber("1.29999995232F;0.20000000298F;10.0F;-100.0F;150.0F::105", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("150", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(100)
gg.editAll("-999", gg.TYPE_FLOAT)
gg.toast("水下行走已开启")
gg.clearResults()
end
function A10()
gg.clearResults()
gg.setRanges(4)
gg.searchNumber("1.29999995232F;0.20000000298F;10.0F;-100.0F;-999F::105", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("-999", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(100)
gg.editAll("150", gg.TYPE_FLOAT)
gg.toast("水下行走已关闭")
gg.clearResults()
end
---------------------------------------------------------------------------------------------------------------ARAN---------------------------------------------------------------------------------------------------------------
function B1()
  gg.setRanges(16384)
  gg.searchNumber("9953,2710,795", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
  gg.getResults(999)
  gg.editAll("0.08817642995", gg.TYPE_FLOAT)
  gg.toast("注入死锁中.......")
  gg.clearResults()
  SearchWrite({{4.8828148E-4, 524},{-128.00001525879, 2884},{128.37501525879, 2892} }, {{ 0,284,true}},
  gg.TYPE_FLOAT, "自瞄开启中……")
  gg.clearList()
  gg.clearResults()
  gg.setRanges(16384)
  local Name="增强自瞄开启"
  local dataType = gg.TYPE_FLOAT
  local tb1 = {{0.00048828148, 0x20C},{-128.00001525879, 0xB44},{128.37501525879, 0xB4C}}
  local tp2 = {{0, 0x11C, true},}
  SearchWrite(tb1, tp2, dataType,Name)
  gg.clearList()
  gg.toast("单体死锁开启")
end

function B2()
  gg.clearResults()
  gg.setRanges(16384)
  local Name="注入自瞄指针中……"
  local dataType = gg.TYPE_FLOAT
  local tb1 = {{0.00048828148, 0x20C},{-128.00001525879, 0xB44},{128.37501525879, 0xB4C}}
  local tp2 = {{0, 0x11C, true},}
  SearchWrite(tb1, tp2, dataType,Name)
  gg.clearList()
  gg.clearResults()
  gg.setRanges(16384)
  local Name="注入死锁"
  local dataType = gg.TYPE_FLOAT
  local tb1 = {{"0.00048828148", 0xBE4525D8},{"-128.00001525879", 0xBE452F44},{"128.37501525879", 0xBE452F4C}}
  local tp2 = {{"0", 0xBE453028, true},}
  SearchWrite(tb1, tp2, dataType,Name)
  gg.clearList()
  gg.clearResults()
  gg.setRanges(16384)
  local Name="注入全屏死锁"
  local dataType = gg.TYPE_FLOAT
  local tb1 = {{"0.00048828148", 0xBE4525D8},{"-128.00001525879", 0xBE452F44},{"128.37501525879", 0xBE452F4C}}
  local tp2 = {{"10", 0xBE453190, true},}
  SearchWrite(tb1, tp2, dataType,Name)
  gg.clearList()
  gg.clearResults()
  SearchWrite({{4.8828148E-4, 524},{-128.00001525879, 2884},{128.37501525879, 2892} }, {{ 0,284,true}},
  gg.TYPE_FLOAT, "自瞄开启中……")
  gg.clearList()
  SearchWrite({{-1.601712E4, 43153},{0.0999999978, 5524}}, {{0.999999978,5524,false}},
  gg.TYPE_FLOAT, "自瞄")
  gg.clearList()
  gg.toast("全屏死锁开启成功")
end

function B3()
  gg.setRanges(32)
  SearchWrite({{600, 116},{-1, 120},{83, 104}}, {{480,116,false}},
  gg.REGION_C_BSS, ("手枪射速加快"))
  gg.clearList()
  SearchWrite({{18, 212},{15, 224},{3, 240}}, {{0.01,224,false}},
  gg.REGION_C_BSS, ("手枪无后"))
  gg.clearList()
  SearchWrite({{6, 40},{300, 52},{-0.5, 64}}, {{1000000000,52,false}},
  gg.REGION_C_BSS, ("手枪瞬击"))
  gg.clearList()
  gg.toast("手枪全开成功")
end

function B4()
  gg.clearResults()
  gg.setRanges(gg.REGION_ANONYMOUS)
  gg.searchNumber("0.60000002384;0.5;43.0;238.0;100;", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
  gg.searchNumber("0.5", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
  gg.getResults(999)
  gg.editAll("0", gg.TYPE_FLOAT)
  gg.clearResults()
  gg.setRanges(32)
  gg.searchNumber("4,525,216,907,494,477,005Q;4,575,657,222,462,033,101Q;4,539,628,425,454,813,184Q;4,539,628,425,446,424,576Q;4,546,834,186,568,204,288Q;4,768,186,106,537,154,970Q", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1)
  gg.searchNumber("", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1)
  gg.getResults(100)
  gg.editAll("0", gg.TYPE_QWORD)
  gg.clearResults()
  gg.setRanges(32)
  gg.searchNumber("1.20000004768F;43.0F;40.0F;300.0F", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
  gg.searchNumber("300", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
  gg.getResults(100)
  gg.editAll("500000", gg.TYPE_FLOAT)
  gg.clearResults()
  gg.setRanges(gg.REGION_C_ALLOC)
  gg.searchNumber("864D;2::10", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
  gg.searchNumber("2", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
  gg.getResults(999)
  gg.editAll("0.1", gg.TYPE_FLOAT)
  gg.toast("SMG无后瞬击秒换弹")
end

function B5()
  gg.setRanges(32)
  SearchWrite({{40, 3908},{7, 3920},{15, 3932}}, {{0.00999999978,3920,true}},
  gg.REGION_C_BSS, ("双持无后"))
  gg.clearList()
  SearchWrite({{-0.20000000298, 0},{1, -8},{360, -12}}, {{1.0E19,-12,false}},
  gg.REGION_C_BSS, ("双持瞬击"))
  gg.clearList()
  SearchWrite({{290, 132},{100, 136},{80, 144}}, {{60,144,false}},
  gg.REGION_C_BSS, ("双持射速加快"))
  gg.clearList()
  gg.setRanges(4)
  SearchWrite({{2.76666688919, 88},{1.2107219E-42, 80}}, {{0.00999999978,88,true}},
  gg.REGION_C_BSS, ("双持射速加快"))
  gg.clearList()
  gg.toast("UZI开启成功")
end

function B6()
  gg.setRanges(32)
  local dataType = gg.TYPE_FLOAT
  local tb1 = {{40, 3908}, {7, 3920},{15, 3932},}
  local tb2 = {{0.00999999978,3920,false},}
  SearchWrite(tb1, tb2, dataType)
  gg.clearList()
  gg.clearResults()
  gg.setRanges(32)
  local dataType = gg.TYPE_FLOAT
  local tb1 = {{-0.20000000298, 0}, {1, -8},{360, -12},}
  local tb2 = {{1.0E19,-12, false},}
  SearchWrite(tb1, tb2, dataType)
  gg.clearList()
  gg.clearResults()
  gg.setRanges(4)
  local dataType = gg.TYPE_FLOAT
  local tb1 = {{2.76666688919, 88}, {1.2107219E-42, 80},}
  local tb2 = {{0.00999999978,88,false},}
  SearchWrite(tb1, tb2, dataType)
  gg.clearList()
  gg.clearResults()
  gg.toast("改装开启成功")
end

function B7()
  gg.clearResults()
  gg.setRanges(4)
  local dataType = gg.TYPE_FLOAT
  local tb1 = {{2.16666674614, 152}, {1.2107219E-42, 144},}
  local tb2 = {{0.00999999978, 152,false},}
  SearchWrite(tb1, tb2, dataType)
  gg.clearList()
  gg.setRanges(gg.REGION_ANONYMOUS)
  local dataType = gg.TYPE_FLOAT
  local tb1 = {{10, 0x40}, {0.10000000149, 0x14},{5, 0x50},}
  local tb2 = {{0.00999999978, 0x40, false},}
  SearchWrite(tb1, tb2, dataType)
  gg.setRanges(32)
  local dataType = gg.TYPE_FLOAT
  local tb1 = {{-0.60000002384, 32},{480, 20},{80, 4},}
  local tb2 = {{1000000,20,false},}
  SearchWrite(tb1, tb2, dataType)
  gg.clearList()
  gg.clearResults()
  gg.toast("半自动开启成功")
end

function B8()
  gg.setRanges(gg.REGION_ANONYMOUS)
  local dataType = gg.TYPE_FLOAT
  local tb1 = {{30, 0xD4}, {10, 0xE0},{13, 0xEC},}
  local tb2 = {{0.00999999978, 0xE0, false},}
  SearchWrite(tb1, tb2, dataType)
  gg.clearList()
  gg.clearResults()
  gg.setRanges(4)
  local dataType = gg.TYPE_FLOAT
  local tb1 = {{2.16666674614, 152}, {1.2107219E-42, 144},}
  local tb2 = {{0.00999999978, 152,false},}
  SearchWrite(tb1, tb2, dataType)
  gg.clearList()
  gg.clearResults()
  gg.setRanges(4)
  local dataType = gg.TYPE_FLOAT
  local tb1 = {{2.66666674614, 24}, {1.2107219E-42, 16},}
  local tb2 = {{0.00999999978, 24,false},}
  SearchWrite(tb1, tb2, dataType)
  gg.clearList()
  gg.clearResults()
  gg.toast("AKM开启成功")
end

function B9()
  gg.setRanges(gg.REGION_ANONYMOUS)
  local dataType = gg.TYPE_FLOAT
  local tb1 = {{0.10000000149, 0x24}, {6, 0x50},{4, 0x60},}
  local tb2 = {{0.00999999978, 0x50, false},}
  SearchWrite(tb1, tb2, dataType)
  gg.setRanges(gg.REGION_ANONYMOUS)
  local dataType = gg.TYPE_FLOAT
  local tb1 = {{0.375, 0},{540, -20},{-0.5, -8},}
  local tb2 = {{1000000000,-20,false}}
  SearchWrite(tb1, tb2, dataType)
  gg.clearList()
  gg.setRanges(4)
  local dataType = gg.TYPE_FLOAT
  local tb1 = {{2.90000009537, 0x98}, {1.2107219e-42, 0x90},}
  local tb2 = {{0.00999999978, 0x98, false},}
  SearchWrite(tb1, tb2, dataType)
  gg.clearList()
  gg.clearResults()
  local dataType = gg.TYPE_FLOAT
  local tb1 = {{2.03333353996, 0xD8}, {1.2107219e-42, 0xD0},}
  local tb2 = {{0.00999999978, 0xD8, false},}
  SearchWrite(tb1, tb2, dataType)
  gg.clearList()
  gg.clearResults()
  gg.toast("QBZ开启成功")
end

function B10()
  gg.setRanges(32)
  SearchWrite({{0.10000000149, 36},{6, 80},{4, 96}}, {{0.00999999978,80,false}},
  gg.REGION_C_BSS, ("M4无后"))
  gg.clearList()
  SearchWrite({{0.375, 0},{540, -20},{-0.5, -8}}, {{1000000000,-20,false}},
  gg.REGION_C_BSS, ("M4瞬击"))
  gg.clearList()
  gg.setRanges(4)
  SearchWrite({{2.16666674614, 152},{1.2107219E-42, 144}}, {{0.00999999978,152,true}},
  gg.REGION_C_BSS, ("M4秒换弹%50……"))
  gg.clearList()
  SearchWrite({{2.66666674614, 24},{1.2107219E-42, 16}}, {{0.00999999978,24,false}},
  gg.REGION_C_BSS, ("M4秒换弹%100"))
  gg.clearList()
  gg.toast("M4开启成功")
end

function B11()
  gg.clearResults()
  gg.setRanges(gg.REGION_C_ALLOC)
  gg.searchNumber('1.2107219e-42;3.1333334446;5.49309e-43::57', gg.TYPE_FLOAT,false,gg.SIGN_EQUAL,0, -1)
  gg.searchNumber('3.1333334446', gg.TYPE_FLOAT,false,gg.SIGN_EQUAL,0, -1)
  gg.getResults(999)
  gg.editAll("0.1",gg.TYPE_FLOAT)
  gg.toast("秒换开启成功")
end

function C1()
  gg.alert("不稳定没用哈")
  while true do
    gg.clearResults()
    gg.setRanges(gg.REGION_C_ALLOC)
    gg.searchNumber("0.05000000100~0.05000000900",gg.TYPE_FLOAT,false,gg.SIGN_EQUAL,0,-1)
    gg.searchNumber("0.05000000100~0.05000000900",gg.TYPE_FLOAT,false,gg.SIGN_EQUAL,0,-1)
    gg.getResults(999)
    gg.editAll("0.18",gg.TYPE_FLOAT)
    gg.clearResults()
    gg.setRanges(gg.REGION_C_ALLOC)
    gg.searchNumber("0.06000000100~0.06000000900",gg.TYPE_FLOAT,false,gg.SIGN_EQUAL,0,-1)
    gg.searchNumber("0.06000000100~0.06000000900",gg.TYPE_FLOAT,false,gg.SIGN_EQUAL,0,-1)
    gg.getResults(999)
    gg.editAll("0.18",gg.TYPE_FLOAT)
    if gg.isVisible(true)then
      break
    end
  end
end

function C2()
  gg.clearResults()
  gg.setRanges(gg.REGION_C_ALLOC)
  gg.searchNumber("0.1099999993~0.1099999994", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
  gg.searchNumber("0.1099999993~0.1099999994", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
  gg.getResults(100)
  gg.editAll("4.5", gg.TYPE_FLOAT)
  gg.clearResults()
  C2()
end

function C3()
  gg.clearResults()
  gg.setRanges(32)
  gg.searchNumber('1.70000004768', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
  gg.searchNumber('1.70000004768', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
  gg.getResults(100)
  gg.editAll('5', gg.TYPE_FLOAT)
  gg.toast('人称视角已开启')
end

function C4()
  gg.clearResults()
  gg.setRanges(gg.REGION_ANONYMOUS)
  local Name="人物十倍"
  local dataType = gg.TYPE_FLOAT
  local tb1 = {{"400", 0xB2D467AC},{"-360", 0xB2D467E4},{"360", 0xB2D467E8},{"80", 0xB2D467E0},{"-70", 0xB2D467DC}}
  local tp2 = {{8, 0xB2D467F4, true},}
  SearchWrite(tb1, tp2, dataType,Name)
  gg.clearList()
end

function C5()
  gg.clearResults()
  gg.setRanges(gg.REGION_ANONYMOUS)
  local Name="关闭放大"
  local dataType = gg.TYPE_FLOAT
  local tb1 = {{"400", 0xB2D467AC},{"-360", 0xB2D467E4},{"360", 0xB2D467E8},{"80", 0xB2D467E0},{"-70", 0xB2D467DC}}
  local tp2 = {{"56", 0xB2D467F4, true},}
  SearchWrite(tb1, tp2, dataType,Name)
  gg.clearList()
end

function C6()
  gg.clearResults()
  gg.setRanges(gg.REGION_C_ALLOC)
  gg.searchNumber('1.21072187e-42;24::',gg.TYPE_FLOAT,false,gg.SIGN_EQUAL,0,-1)
  gg.searchNumber('24',gg.TYPE_FLOAT, false, gg.SIGN_EQUAL,0,-1)
  gg.getResults(99)
  gg.editAll('120', gg.TYPE_FLOAT)
  gg.toast('  测试 ')
  gg.clearResults()
end

function C7()
  gg.clearResults()
  gg.setRanges(gg.REGION_C_ALLOC)
  gg.searchNumber('1.21072187e-42;24::',gg.TYPE_FLOAT,false,gg.SIGN_EQUAL,0,-1)
  gg.searchNumber('24',gg.TYPE_FLOAT, false, gg.SIGN_EQUAL,0,-1)
  gg.getResults(99)
  gg.editAll('120', gg.TYPE_FLOAT)
  gg.toast('  黑天变白天开启成功  ')
  gg.clearResults()
end

function C8()
  gg.setRanges(gg.REGION_ANONYMOUS)
  local Name="温馨提示:秒开镜"
  local tb1={{"0.10000000149",0xCFA2A858},{"0.20000000298",0xCFA2A854},{"3.99000000954",0xCFA2A830}}
  local tb2={{"9",0xCFA2A890,true},}
  local dataType=gg.TYPE_FLOAT
  SearchWrite(tb1,tb2,dataType,Name)
end
---------------------------------------------------------------------------------------------------------------ARAN---------------------------------------------------------------------------------------------------------------
function D1()
  gg.clearResults()
  gg.setRanges(gg.REGION_C_ALLOC)
  gg.searchNumber("16,256W;1.03~1.042F;16,261W;-26,214W;15,897W::", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
  gg.searchNumber("1.03~1.042", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
  jg=gg.getResults(100)
  sl=gg.getResultCount()
  if sl>100 then sl=100 end
  for i = 1, sl do
    dzy=jg[i].address
    gg.addListItems({[1] = {address = dzy,flags = gg.TYPE_FLOAT,freeze = true,value = 0.37698}})

    gg.clearResults()
    gg.setRanges(gg.REGION_CODE_APP)
    gg.searchNumber('0.60000002384F;0.73000001907F',gg.TYPE_FLOAT,false ,gg.SIGN_EQUAL,0,-1)
    gg.searchNumber('0.60000002384',gg.TYPE_FLOAT,false,gg.SIGN_EQUAL,0,-1)
    gg.getResults(100)
    gg.editAll('999',gg.TYPE_FLOAT)
    gg.toast('100%')
  end
  gg.toast("飞天开启成功")
end


function D3()
  gg.clearResults()
  gg.setRanges(4)
  gg.searchNumber("-1.0e32;999.0;0.39999997616;1.0e32", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
  gg.searchNumber("1.0e32", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
  jg=gg.getResults(100)
  sl=gg.getResultCount()
  if sl>100 then sl=100 end
  for i = 1, sl do
    dzy=jg[i].address
    gg.addListItems({[1] = {address = dzy,flags = gg.TYPE_FLOAT,freeze = true,value = 8}})
  end
  gg.toast("隔墙吸子弹50%……………")
  gg.clearResults()
  gg.clearResults()
  gg.setRanges(gg.REGION_C_ALLOC)
  gg.searchNumber("1.03999996185", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
  gg.searchNumber("1.03999996185", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
  gg.getResults(20)
  gg.editAll("5", gg.TYPE_FLOAT)
  gg.clearResults()
  gg.toast("隔墙吸子弹 - 开启成功")
end


function D5()
  gg.clearResults()
  shiran = gg.prompt({"请输入防封指数(默认3)"}
  ,{[1]=3},{[1]="number"})[1]
  gg.setRanges(100)
  gg.toast("防封注入%10……………………")
  gg.clearResults()
  gg.searchNumber("0", gg.REGION_C_BSS, false, gg.SIGN_FUZZY_EQUAL, 0, -1)
  gg.toast("防封注入%30…………………")
  gg.clearResults()
  gg.searchNumber("0", gg.REGION_C_BSS, false, gg.SIGN_FUZZY_EQUAL, 0, -1)
  gg.toast("防封注入%70……………………")
  gg.clearResults()
  gg.searchNumber("0", gg.REGION_C_BSS, false, gg.SIGN_FUZZY_EQUAL, 0, -1)
  gg.toast("防封注入%95………………")
  gg.clearResults(100)
  gg.toast("防封注入成功")
end

function D6()
  gg.clearResults()
  gg.setRanges(4)
  gg.searchNumber('-1.0e32;999.0;0.39999997616;1.0e32', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
  gg.searchNumber('1.0e32', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
  jg = gg.getResults(100)
  sl = gg.getResultCount()
  if 100 < sl then
    sl = 100
  end
  for _FORV_3_ = 1, sl do
    dzy = jg[_FORV_3_].address
    gg.addListItems({
      [1] = {
        address = dzy,
        flags = gg.TYPE_FLOAT,
        freeze = true,
        value = 8
      }
    })
  end
  gg.toast("已开启,请断网")
  gg.clearResults()
  gg.clearList()
end

function D7()
  gg.clearResults()
  gg.setRanges(gg.REGION_CODE_APP)
  gg.searchNumber("-1.83314888e27;-7.15917215e24;2.0:37", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
  gg.searchNumber("2", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
  gg.getResults(100)
  gg.editAll("2.5", gg.TYPE_FLOAT)
  gg.toast("开启成功,请在游戏大厅开启")
end


function Exit()
  print("(本版本为1.0)稳定科技脚本,zz制造")
  os.exit()
end
function HOME()
  lw=1
  yiyz_Main()
end
sj = os.date("%c")

while(true)do
  if gg.isVisible(true) then
    XGCK=1
    gg.setVisible(false)
  end
  gg.clearResults()
  if XGCK==1 then
    yiyz_Main()
  end
end

你可能感兴趣的:(lua,lua,游戏)