DWORD=gg.TYPE_DWORD DOUBLE=gg.TYPE_DOUBLE FLOAT=gg.TYPE_FLOAT WORD=gg.TYPE_WORD BYTE=gg.TYPE_BYTE XOR=gg.TYPE_XOR QWORD=gg.TYPE_QWORD -- 【【 核心代码,不懂勿动 】】 -- JF Script编辑器 function Main0() SN = gg.choice({ "无限道具", "退出脚本", }, nil, "这里是公告") if SN==1 then HS1() end if SN==2 then os.exit() end FX1=0 end function HS1() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("999", 类型, false, gg.SIGN_EQUAL, 0, -1) if gg.getResultCount() == 0 then gg.toast("开启失败") else gg.searchNumber("998",类型 , false, gg.SIGN_EQUAL, 0, -1) jg=gg.getResults(100)--设置冻结前100个代码 sl=gg.getResultCount() for i = 1, sl do dzy=jg[i].address gg.addListItems({[1] = {address = dzy,flags = 类型,freeze = true,value = "9999"}}) end gg.toast("无限道具开启成功") gg.clearResults() end end while true do if gg.isVisible(true) then FX1 = nil gg.setVisible(false) end if FX1 == nil then Main0() end end