function pass() end function nopass() os.exit() end input = gg.prompt({"请输入密码"}, {[1] = qlamzngslskhh}, {[1] = "qlamzngslskhh"}) if input[1]=="1206" then pass() else nopass() end function readWrite(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 "成功" or "" th=(th_) and "" or "" gg.setValues(t) t_=gg.getValues(t_) gg.loadResults(t_) gg.toast(""..Name..tg) tg_,th_=nil,nil else gg.toast("成功",false) return false end else gg.toast("成功") return false end end function Main() menu = gg.choice({ '加速区域', '防拉区域', '退出脚本'},--4 nil,'日出日落 人聚人散') if menu == 1 then Y() end if menu == 2 then F() end if menu == 3 then ovo() end XGCK=-1 end function Y() menu1 = gg.multiChoice({ "实战加速",--1 "逃命开启",--2 "加速关闭",--3 "返回"},--7 nil,"慢也好, 步子小也好,是在往前走就好") if menu1 == nil then else if menu1[1] == true then b1() end if menu1[2] == true then b2() end if menu1[3] == true then b3() end if menu1[4] == true then qwq() end end GLWW=-1 end function F() menu1 = gg.multiChoice({ "喵内防拉",--1 "XA站浮(大厅开启)",--2 "返回"}, nil,"能让你日常想念的人 那便是喜欢") if menu1 == nil then else if menu1[1] == true then a1() end if menu1[2] == true then a2() end if menu1[3] == true then qwq() end end GLWW=-1 end function b1() readWrite({{false,268464131,0,4,nil,nil},{290914307,4,4}}, {{0,24,16,false}},4,16384,"速度") readWrite({{false,150994944,0,4,nil,nil}, {58,-4,4},{58,-8,4},{89,40,4},{1084227584,68,4}}, {{90.0,16,16,false},{90.0,20,16,false}},4,32,"频率") readWrite({{false,-1901117039636905984,0,32,nil,nil}}, {{-1901117038551420109,0,32,false}},32,16384,"减速") readWrite({{false,-309327247,0,4,nil,nil},{-308340220,4,4}}, {{0.285,-4,16,false}},4,16384,"人物突破口") readWrite({{false,1198153728,0,4,nil,nil}, {1,20,4},{1,24,4}},{{1.01,100,16,false}},4,32,"全局突破口") readWrite({{false,-1088801054,0,4,nil,nil}}, {{9,-8,16,false}},4,16384,"全局加速") readWrite({{false,4525216907414147695,0,32,nil,nil}}, {{4525216907473673257,0,32,false}},32,32,"速度突破") readWrite({{false,-1328550408728725571,0,32,nil,nil}}, {{-1328550408576460390,0,32,false}},32,16384,"优化") end function b2() readWrite({{false,1139785728,0,4,nil,nil}, {1065353216,-12,4},{1065353216,-8,4},{1065353216,-4,4}}, {{1100.0,-12,16,false},{1100.0,-8,16,false}, {1100.0,-4,16,false}},4,32,"逃命开启") end function b3() readWrite({{false,268464131,0,4,nil,nil},{290914307,4,4}}, {{-6.15262313e27,24,16,false}},4,16384,"关闭") readWrite({{false,-998965248,0,4,nil,nil},{1101004800,232,4}}, {{0.0005,236,16,false}},4,32,"关闭") readWrite({{false,-309327247,0,4,nil,nil},{-308340220,4,4}}, {{9.99999997e-7,-4,16,false}},4,16384,"关闭") readWrite({{false,1198153728,0,4,nil,nil},{1,20,4},{1,24,4}}, {{1.0,100,16,false}},4,32,"关闭") readWrite({{false,-1088801054,0,4,nil,nil}}, {{10.90734863281,-8,16,false}},4,16384,"关闭")readWrite({{false,-1359975840,0,4,nil,nil}}, {{-1228926276669014016,-12,32,false}},4,16384,"关闭") readWrite({{false,1139785728,0,4,nil,nil},{1065353216,-12,4}, {1065353216,-8,4},{1065353216,-4,4}},{{1.0,-12,16,false}, {1.0,-8,16,false},{1.0,-4,16,false}},4,32,"关闭") readWrite({{false,4525216907473673257,0,32,nil,nil}}, {{4525216907414147695,0,32,false}},32,32,"关闭") readWrite({{false,-1328550408576460390,0,32,nil,nil}}, {{-1328550408728725571,0,32,false}},32,16384,"关闭") readWrite({{false,-1901117038551420109,0,32,nil,nil}}, {{-1901117039636905984,0,32,false}},32,16384,"关闭") end function a1() readWrite({{false,-998965248,0,4,nil,nil}, {1101004800,232,4}}, {{0.055,236,16,false}},4,32,"定点") readWrite({{false,-998965248,0,4,nil,nil}, {1101004800,232,4}}, {{0.055,236,16,false}},4,32,"防拉") readWrite({{false,-1359975840,0,4,nil,nil}}, {{-1228926273201366,-12,32,false}},4,16384,"强制") gg.toast("喵内") end function a2() gg.clearResults() gg.setRanges(gg.REGION_CODE_APP) gg.searchNumber("4,787,326,405,013,667,840", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(100) gg.editAll("4,787,326,405,011,308,544", gg.TYPE_QWORD) gg.toast("开启成功") end function ovo() print("天天开心") os.exit() end function qwq() lw=1 Main() end cs = '感谢使用' while(true)do if gg.isVisible(true) then XGCK=1 gg.setVisible(false) end gg.clearResults() if XGCK==1 then Main() end end