小小突击队64位gg开源lua脚本代码


t=1
for i = 5,100,5 do
jd=math.random(i,i+4)
if i==100 then jd=i end
gg.toast(' 启动中%'..jd..'\n'..('★️'):rep(t)..('☆️'):rep(20-t))
t=t+1
gg.sleep(26)
end
function SearchWrite(tb1, tb2, dataType, Name)
local lt1={}
local lt2={}
local mm1={["主特征码"] = tb1[1][1],["类型"] = dataType }
table.insert(lt1,1,mm1)
for i=2 , #tb1 do
local mm2={["副特征码"] = tb1[i][1],["偏移"] = tb1[i][2]}
table.insert(lt1,i,mm2)
end
for i=1 , #tb2 do
if tb2[i][2]~=nil then
local mm3={["修改"] = tb2[i][1],["偏移"] = tb2[i][2]}
table.insert(lt2,i,mm3)
else
local mm3={["修改"] = false,["偏移"] = tb2[i][1]}
table.insert(lt2,i,mm3)
end
end
ChenBao(lt1, lt2 )
end
function ChenBao(Search, Write)
gg.setVisible(false)
lx=Search[1]["类型"]
gg.searchNumber(Search[1]["主特征码"], lx)
local count = gg.getResultCount()
local result = gg.getResults(count)
local data = {}
if (count > 0) then
gg.toast("共搜索 "..count.." 条数据")
for i, v in ipairs(result) do
v.isUseful = true
end
for k=2, #Search do
local tmp = {}
local num = Search[k]["副特征码"]
if Search[k]["类型"]~= nil then
lx =Search[k]["类型"]
else
lx = Search[1]["类型"]
end
for i, v in ipairs(result) do
tmp[#tmp+1] = {}
tmp[#tmp].address = v.address + Search[k]["偏移"]
tmp[#tmp].flags = lx
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 = {}
for i=1, #data do
for k, w in ipairs(Write) do
if w["类型"] ~= nil then
lx = w["类型"]
else
lx = Search[1]["类型"]
end
t[#t+1] = {}
t[#t].address = data[i] + w["偏移"]
t[#t].flags = lx
if (w["修改"]~=nil) and (w["修改"]~=false) then
t[#t].value = w["修改"]
gg.setValues(t)
if (w["冻结"] == true) then
local item = {}
item[#item+1] = t[#t]
item[#item].freeze = w["冻结"]
gg.addListItems(item)
end
end
end
end
gg.loadResults(t)
gg.toast("共修改 "..#t.." 条数据✨")
else
gg.toast("未搜到数据")
return false
end
else
gg.toast("未搜到数据")
return false
end
end

function Main0()
SN = gg.choice({
"全屏攻击范围",
"关闭攻击范围",
"退出垃圾脚本",
}, nil,"这个逼装得圆润光滑有弹性"..sj)
if SN==1 then fw() end
if SN==2 then gb() end
if SN==3 then tc() end
FX1=0
end

function fw()
gg.setRanges(gg.REGION_CODE_APP)
local tb1={
{["类型"] = 16 ,["主特征码"] = 0.89999997616 } ,
{["类型"]= 16 ,["偏移"]= -4 ,["副特征码"]= 0.10000000149 },
{["类型"]= 16 ,["偏移"]= -12 ,["副特征码"]= 0.00999999978 },
}
local tb2={
{["类型"] = 16 ,["偏移"] = -12 , ["冻结"] = false , ["修改"] = 160.0 } ,
} ChenBao(tb1, tb2)
end

function gb()
gg.setRanges(gg.REGION_CODE_APP)
local tb1={
{["类型"] = 16 ,["主特征码"] = 0.89999997616 } ,
{["类型"]= 16 ,["偏移"]= -4 ,["副特征码"]= 0.10000000149 },
{["类型"]= 16 ,["偏移"]= -12 ,["副特征码"]= 160.0 },
}
local tb2={
{["类型"] = 16 ,["偏移"] = -12 , ["冻结"] = false , ["修改"] = 0.00999999978 } ,
} ChenBao(tb1, tb2)
end

function tc()
print("核星破壳www.xingapk.com")
os.exit()
end

while true do
sj = os.date("\n核星破壳www.xingapk.com")
if gg.isVisible(true) then
FX1 = nil
gg.setVisible(false)
end
if FX1 == nil then
Main0()
end
end

标签

发表评论