function Main() SN =gg.multiChoice({ "静态广角", "关闭广角", "功能名称3", "功能名称4", "功能名称5", "功能名称6", "功能名称7", "功能名称8", "功能名称9", "功能名称10", "退出脚本" }, nil, "这里可以填写你的QQ") -- 1. 开启功能 (SN[1]) if SN[1] == true then if gg.getRangesList("libUE4.so")[1] then local t = {} t[1] = gg.getRangesList("libUE4.so")[1]["start"] + 0x39292B8 gg.setValues({ [1] = { address = t[1], flags = 16, value = 2.0, }, }) end gg.toast("开启成功") end -- 这里才是关闭第15行 if 的 end -- 2. 关闭功能 (SN[2]) if SN[2] == true then if gg.getRangesList("libUE4.so")[1] then local t = {} t[1] = gg.getRangesList("libUE4.so")[1]["start"] + 0x39292B8 gg.setValues({ [1] = { address = t[1], flags = 16, value = 1.0, }, }) end gg.toast("关闭成功") end -- 这里才是关闭第27行 if 的 end -- 3. 其他功能选项 (c, d) if SN[3] == true then c() end if SN[4] == true then d() end if SN[4] == true then d() end if SN[5] == true then e() end if SN[6] == true then f() end if SN[7] == true then g() end if SN[8] == true then h() end if SN[9] == true then i() end if SN[10] == true then j() end if SN[11] == true then Exit() end XGCK = -1 end function a() gg.toast("静态广角开启成功") end function b() gg.toast("开启成功") end function c() gg.toast("开启成功") end function d() gg.toast("开启成功") end function e() gg.toast("开启成功") end function f() gg.toast("开启成功") end function g() gg.toast("开启成功") end function h() gg.toast("开启成功") end function i() gg.toast("开启成功") end function j() gg.toast("开启成功") end function Exit() print("这里是退出脚本后的提示文字") os.exit() end cs = "这里可以改成你的QQ" while true do if gg.isVisible(true) then XGCK = 1 gg.setVisible(false) end gg.clearResults() if XGCK == 1 then Main() end end --[[Welcome to Dluae]]