function editData(qmnb,qmxg) gg.setVisible(false) gg.clearResults() local xgjg = false qmnbv = qmnb[3]["value"] or qmnb[3][1] qmnbt = qmnb[3]["type"] or qmnb[3][2] qmnbn = qmnb[2]["name"] or qmnb[2][1] gg.setRanges(qmnb[1]["memory"] or qmnb[1][1]) gg.searchNumber(qmnbv, qmnbt) gg.refineNumber(qmnbv, qmnbt) local sz = gg.getResultCount() if sz == 0 then gg.toast(qmnbn.."开启失败") return false else local sl = gg.getResults(5000) for i = 1, sz do local pdsz = true local pdjg = false for v = 4, #qmnb do if pdsz == true then local pysz = {{}} pysz[1].address = sl[i].address + (qmnb[v]["offset"] or qmnb[v][2]) pysz[1].flags = qmnb[v]["type"] or qmnb[v][3] local szpy = gg.getValues(pysz) local tzszpd = tostring(qmnb[v]["lv"] or qmnb[v][1]):gsub(",","") local pyszpd = tostring(szpy[1].value):gsub(",","") if tzszpd == pyszpd then pdjg = true pdsz = true else pdjg = false pdsz = false end end end if pdjg == true then local szpy = sl[i].address for x = 1, #qmxg do local xgsz = qmxg[x]["value"] or qmxg[x][1] local xgpy = szpy + (qmxg[x]["offset"] or qmxg[x][2]) local xglx = qmxg[x]["type"] or qmxg[x][3] local xgdj = qmxg[x]["freeze"] or qmxg[x][4] local xg = {{address = xgpy, flags = xglx, value = xgsz}} if xgdj == true then xg[1].freeze = xgdj gg.addListItems(xg) else gg.setValues(xg) end end xgjg = true end end if xgjg == true then gg.toast(qmnbn.."开启成功") return true else gg.toast(qmnbn.."开启失败") return false end end end gg.alert("开启成功\n欢迎使用宇少公益免费辅助\n宇少制作完全免费 仅用作学习交流使用\n需要一把一大退\n温馨提示 九游可无限创造账号\nQQ交流群787878") function FZ() MG = gg.multiChoice({ "❤️选择进程❤️", "❤️开启延长线❤️", "💔退出脚本💔", }, nil, "宇少台球公益辅助,一把一大退更安全\n↓请先选择进程↓") if MG == nil then return else if MG[1] == true then GN1() end if MG[2] == true then GN2() end if MG[3] == true then TCJB() end FX1 = 0 end end -- 0xFFFFFFFF -- 全部内存 function GN1() gg.setProcessX() gg.toast("请选择台球") end function GN2() editData( { {["memory"] = 0xFFFFFFFF}, {["name"] = "开启延长线"}, {["value"] = 1075865190, ["type"] = 4}, {["lv"] = 1717986918, ["offset"] = -0x4, ["type"] = 4}, {["lv"] = 1071644672, ["offset"] = -0x18, ["type"] = 4}, }, { {["value"] = 1084227584, ["offset"] =-0xC, ["type"] = 4, ["freeze"] = true}, } ) gg.clearResults() gg.toast("延长线开启成功") end function TCJB() print([[ l ̄ ̄ ̄ ̄ ̄ ̄ ̄| | 祝您好运来!! |_______| (\__/) || (•ㅅ•).|| / . . . .づ ]]) gg.toast("已退出脚本") gg.alert([[ l ̄ ̄ ̄ ̄ ̄ ̄ ̄| | 感谢您游玩!! |_______| (\__/) || (•ㅅ•).|| / . . . .づ ]]) os.exit() end FX1 = nil while true do if gg.isVisible(true) then FX1 = nil gg.setVisible(false) end if FX1 == nil then FZ() end gg.sleep(100) end