-- 支持ELGG修改器,作者:Shizuku,ELGG下载:https://www.xiaoman.top -- ========== 悬浮窗图标配置(已修改为指定外链) ========== local 悬浮窗图标外链 = "https://pan.shenzhi.shop/view.php/81ad8ebe8e438bd6ea098dfc810fdd3e.png" local 缩小图标外链= "https://pan.shenzhi.shop/view.php/7497eaad09fb73362560db3299c97ccf.jpg" local 退出图标外链="https://pan.shenzhi.shop/down.php/08eb5b9eaccf885ee4b1fbf145640eab.jpg" local 资源文件夹 = "/sdcard/elgg-ui/" local check_file = file.new(资源文件夹) if not check_file.isDirectory() then -- 如果文件夹不存在则创建 check_file.delete() check_file.mkdir() end -- 资源文件路径 local icon_file = 资源文件夹 .. "图标.png" local exit_path = 资源文件夹 .. "退出.png" local hide_path = 资源文件夹 .. "隐藏.png" local enlarge_path = 资源文件夹 .. "放大.png" local shrink_path = 资源文件夹 .. "缩小.png" if not file.new(icon_file).exists() then -- 资源不存在,下载资源文件,主悬浮窗图标使用指定外链 file.download(悬浮窗图标外链, icon_file) file.download(退出图标外链, exit_path) file.download(悬浮窗图标外链, hide_path) file.download(悬浮窗图标外链, enlarge_path) file.download(缩小图标外链, shrink_path) end -- ========== 风尘科技nu参数配置核心功能 ========== -- 配置文件路径 local path_aim = "/storage/emulated/0/Null_AimBot.ini" local path_preview = "/storage/emulated/0/Null_Preview.ini" -- 按钮1:6.9.1最新猎枪参数 function writeAllConfig() -- 写入 Aimbot 配置 local f1 = io.open(path_aim, "w") if f1 then f1:write([=[ [AimbotConfig] offsetX=0.005 offsetY=0.007 offsetZ=1.17 predictFactorH=0.160 predictFactorV=0.150 groundPredictEnable=0 groundPredictDist=15 dis_predictFactorH=0.07 dis_predictFactorV=0.07 flyOffsetX=0.005 flyOffsetY=0.005 flyOffsetZ=1.275 flyPredictFactorH=0.160 flyPredictFactorV=0.152 flyPredictEnable=0 flyPredictDist=15 dis_flyPredictFactorH=0.07 dis_flyPredictFactorV=0.33 smoothFactor=1 isSmooth=0 checkGun=0 checkTeam=1 AngleLimit=1 DistanceJudge=1 hideAimbotCircle=1 AimMonster=1 ShowUp=0 isLuffy=0 luffyFactor=4.5 aimCircleRadius=1000 maxAimDistance=150 ]=]) f1:close() end -- 写入 Preview 预测配置 local f2 = io.open(path_preview, "w") if f2 then f2:write([=[ [CustomPredict] enable=1 itemCount=69 item0_minDist=5 item0_maxDist=6 item0_horiPredict=0.114 item0_vertPredict=0.172 item1_minDist=6 item1_maxDist=8 item1_horiPredict=0.114 item1_vertPredict=0.172 item2_minDist=8 item2_maxDist=10 item2_horiPredict=0.114 item2_vertPredict=0.172 item3_minDist=10 item3_maxDist=12 item3_horiPredict=0.114 item3_vertPredict=0.17 item4_minDist=12 item4_maxDist=14 item4_horiPredict=0.114 item4_vertPredict=0.17 item5_minDist=14 item5_maxDist=15 item5_horiPredict=0.114 item5_vertPredict=0.17 item6_minDist=15 item6_maxDist=16 item6_horiPredict=0.115 item6_vertPredict=0.172 item7_minDist=16 item7_maxDist=18 item7_horiPredict=0.115 item7_vertPredict=0.172 item8_minDist=18 item8_maxDist=20 item8_horiPredict=0.115 item8_vertPredict=0.172 item9_minDist=20 item9_maxDist=22 item9_horiPredict=0.116 item9_vertPredict=0.162 item10_minDist=22 item10_maxDist=24 item10_horiPredict=0.116 item10_vertPredict=0.162 item11_minDist=24 item11_maxDist=25 item11_horiPredict=0.116 item11_vertPredict=0.162 item12_minDist=25 item12_maxDist=26 item12_horiPredict=0.125 item12_vertPredict=0.157 item13_minDist=26 item13_maxDist=28 item13_horiPredict=0.125 item13_vertPredict=0.157 item14_minDist=28 item14_maxDist=30 item14_horiPredict=0.125 item14_vertPredict=0.157 item15_minDist=30 item15_maxDist=32 item15_horiPredict=0.132 item15_vertPredict=0.16 item16_minDist=32 item16_maxDist=34 item16_horiPredict=0.132 item16_vertPredict=0.16 item17_minDist=34 item17_maxDist=35 item17_horiPredict=0.132 item17_vertPredict=0.16 item18_minDist=35 item18_maxDist=36 item18_horiPredict=0.14 item18_vertPredict=0.162 item19_minDist=36 item19_maxDist=38 item19_horiPredict=0.14 item19_vertPredict=0.162 item20_minDist=38 item20_maxDist=40 item20_horiPredict=0.14 item20_vertPredict=0.162 item21_minDist=40 item21_maxDist=42 item21_horiPredict=0.162 item21_vertPredict=0.17 item22_minDist=42 item22_maxDist=44 item22_horiPredict=0.162 item22_vertPredict=0.17 item23_minDist=44 item23_maxDist=45 item23_horiPredict=0.162 item23_vertPredict=0.17 item24_minDist=45 item24_maxDist=46 item24_horiPredict=0.164 item24_vertPredict=0.188 item25_minDist=46 item25_maxDist=48 item25_horiPredict=0.164 item25_vertPredict=0.188 item26_minDist=48 item26_maxDist=50 item26_horiPredict=0.164 item26_vertPredict=0.188 item27_minDist=50 item27_maxDist=52 item27_horiPredict=0.171 item27_vertPredict=0.146 item28_minDist=52 item28_maxDist=54 item28_horiPredict=0.171 item28_vertPredict=0.146 item29_minDist=54 item29_maxDist=55 item29_horiPredict=0.171 item29_vertPredict=0.208 item30_minDist=55 item30_maxDist=56 item30_horiPredict=0.173 item30_vertPredict=0.155 item31_minDist=56 item31_maxDist=58 item31_horiPredict=0.173 item31_vertPredict=0.125 item32_minDist=58 item32_maxDist=60 item32_horiPredict=0.153 item32_vertPredict=0.125 item33_minDist=60 item33_maxDist=62 item33_horiPredict=0.18 item33_vertPredict=0.258 item34_minDist=62 item34_maxDist=64 item34_horiPredict=0.18 item34_vertPredict=0.258 item35_minDist=64 item35_maxDist=65 item35_horiPredict=0.18 item35_vertPredict=0.258 item36_minDist=65 item36_maxDist=66 item36_horiPredict=0.192 item36_vertPredict=0.266 item37_minDist=66 item37_maxDist=68 item37_horiPredict=0.192 item37_vertPredict=0.266 item38_minDist=68 item38_maxDist=70 item38_horiPredict=0.192 item38_vertPredict=0.266 item39_minDist=70 item39_maxDist=72 item39_horiPredict=0.192 item39_vertPredict=0.274 item40_minDist=72 item40_maxDist=74 item40_horiPredict=0.192 item40_vertPredict=0.274 item41_minDist=74 item41_maxDist=75 item41_horiPredict=0.192 item41_vertPredict=0.274 item42_minDist=75 item42_maxDist=76 item42_horiPredict=0.194 item42_vertPredict=0.282 item43_minDist=76 item43_maxDist=78 item43_horiPredict=0.194 item43_vertPredict=0.282 item44_minDist=78 item44_maxDist=80 item44_horiPredict=0.194 item44_vertPredict=0.282 item45_minDist=80 item45_maxDist=81 item45_horiPredict=0.118 item45_vertPredict=0.172 item46_minDist=81 item46_maxDist=84 item46_horiPredict=0.116 item46_vertPredict=0.174 item47_minDist=84 item47_maxDist=87 item47_horiPredict=0.114 item47_vertPredict=0.176 item48_minDist=87 item48_maxDist=90 item48_horiPredict=0.112 item48_vertPredict=0.178 item49_minDist=90 item49_maxDist=93 item49_horiPredict=0.11 item49_vertPredict=0.18 item50_minDist=93 item50_maxDist=96 item50_horiPredict=0.108 item50_vertPredict=0.182 item51_minDist=96 item51_maxDist=99 item51_horiPredict=0.106 item51_vertPredict=0.184 ]=]) f2:close() end gg.toast("✅ 6.9.1最新猎枪参数写入成功!") end -- 按钮2:6.9.1最新左轮 function writeAimConfig2() local f1 = io.open(path_aim, "w") if f1 then f1:write([=[ [AimbotConfig] offsetX=0.007 offsetY=0.01 offsetZ=1.261 predictFactorH=0.116 predictFactorV=0.156 groundPredictEnable=1 groundPredictDist=10 dis_predictFactorH=0.093 dis_predictFactorV=0.048 flyOffsetX=0.014 flyOffsetY=0.01 flyOffsetZ=1.346 flyPredictFactorH=0.12 flyPredictFactorV=0.152 flyPredictEnable=1 flyPredictDist=10 dis_flyPredictFactorH=0.123 dis_flyPredictFactorV=0.143 smoothFactor=1 isSmooth=1 checkGun=1 checkTeam=1 AngleLimit=1 DistanceJudge=0 hideAimbotCircle=1 AimMonster=1 ShowUp=0 isLuffy=0 luffyFactor=4.2 aimCircleRadius=500 maxAimDistance=130 ]=]) f1:close() end local f2 = io.open(path_preview, "w") if f2 then f2:write([=[ [CustomPredict] enable=1 itemCount=36 item0_minDist=0 item0_maxDist=5 item0_horiPredict=0.121 item0_vertPredict=0.163 item1_minDist=0 item1_maxDist=10 item1_horiPredict=0.061 item1_vertPredict=0.045 item2_minDist=10 item2_maxDist=15 item2_horiPredict=0.097 item2_vertPredict=0.08 item3_minDist=15 item3_maxDist=20 item3_horiPredict=0.107 item3_vertPredict=0.091 item4_minDist=20 item4_maxDist=25 item4_horiPredict=0.116 item4_vertPredict=0.102 item5_minDist=25 item5_maxDist=30 item5_horiPredict=0.125 item5_vertPredict=0.115 item6_minDist=30 item6_maxDist=35 item6_horiPredict=0.135 item6_vertPredict=0.121 item7_minDist=35 item7_maxDist=40 item7_horiPredict=0.141 item7_vertPredict=0.131 item8_minDist=40 item8_maxDist=45 item8_horiPredict=0.157 item8_vertPredict=0.142 item9_minDist=45 item9_maxDist=50 item9_horiPredict=0.165 item9_vertPredict=0.147 item10_minDist=50 item10_maxDist=55 item10_horiPredict=0.167 item10_vertPredict=0.159 item11_minDist=55 item11_maxDist=60 item11_horiPredict=0.168 item11_vertPredict=0.167 item12_minDist=60 item12_maxDist=65 item12_horiPredict=0.177 item12_vertPredict=0.168 item13_minDist=65 item13_maxDist=70 item13_horiPredict=0.178 item13_vertPredict=0.175 item14_minDist=70 item14_maxDist=75 item14_horiPredict=0.183 item14_vertPredict=0.181 item15_minDist=75 item15_maxDist=80 item15_horiPredict=0.189 item15_vertPredict=0.186 item16_minDist=80 item16_maxDist=85 item16_horiPredict=0.195 item16_vertPredict=0.193 item17_minDist=86 item17_maxDist=91 item17_horiPredict=0.161 item17_vertPredict=0.133 item18_minDist=90 item18_maxDist=91 item18_horiPredict=0.196 item18_vertPredict=0.194 item19_minDist=91 item19_maxDist=92 item19_horiPredict=0.194 item19_vertPredict=0.2 item20_minDist=92 item20_maxDist=93 item20_horiPredict=0.193 item20_vertPredict=0.198 item21_minDist=93 item21_maxDist=94 item21_horiPredict=0.193 item21_vertPredict=0.199 item22_minDist=94 item22_maxDist=95 item22_horiPredict=0.195 item22_vertPredict=0.199 item23_minDist=95 item23_maxDist=96 item23_horiPredict=0.194 item23_vertPredict=0.198 item24_minDist=98 item24_maxDist=100 item24_horiPredict=0.192 item24_vertPredict=0.203 item25_minDist=100 item25_maxDist=105 item25_horiPredict=0.12 item25_vertPredict=0.19 item26_minDist=105 item26_maxDist=110 item26_horiPredict=0.135 item26_vertPredict=0.196 item27_minDist=110 item27_maxDist=115 item27_horiPredict=0.143 item27_vertPredict=0.197 item28_minDist=116 item28_maxDist=150 item28_horiPredict=0.135 item28_vertPredict=0.163 item29_minDist=116 item29_maxDist=120 item29_horiPredict=0.148 item29_vertPredict=0.202 item30_minDist=120 item30_maxDist=125 item30_horiPredict=0.153 item30_vertPredict=0.205 item31_minDist=125 item31_maxDist=130 item31_horiPredict=0.166 item31_vertPredict=0.213 item32_minDist=130 item32_maxDist=135 item32_horiPredict=0.176 item32_vertPredict=0.214 item33_minDist=134 item33_maxDist=140 item33_horiPredict=0.186 item33_vertPredict=0.229 item34_minDist=140 item34_maxDist=145 item34_horiPredict=0.2 item34_vertPredict=0.239 item35_minDist=145 item35_maxDist=150 item35_horiPredict=0.208 item35_vertPredict=0.232 ]=]) f2:close() end gg.toast("✅ 6.9.1最新左轮参数写入成功!") end -- 按钮3:经典左轮 function writeAimConfig3() local f1 = io.open(path_aim, "w") if f1 then f1:write([=[ [AimbotConfig] offsetX=-0.001 offsetY=0.001 offsetZ=1.16 predictFactorH=0.131 predictFactorV=0.11 groundPredictEnable=1 groundPredictDist=152 dis_predictFactorH=0.134 dis_predictFactorV=0.11 flyOffsetX=-0.001 flyOffsetY=-0.001 flyOffsetZ=1.3 flyPredictFactorH=0.166 flyPredictFactorV=0.142 flyPredictEnable=1 flyPredictDist=20 dis_flyPredictFactorH=0.164 dis_flyPredictFactorV=0.142 smoothFactor=0.25 isSmooth=0 checkGun=1 checkTeam=1 AngleLimit=1 DistanceJudge=0 hideAimbotCircle=0 AimMonster=1 ShowUp=0 aimCircleRadius=600 maxAimDistance=154 ]=]) f1:close() end local f2 = io.open(path_preview, "w") if f2 then f2:write([=[ [CustomPredict] enable=1 itemCount=66 item0_minDist=20 item0_maxDist=22 item0_horiPredict=0.170 item0_vertPredict=0.146 item1_minDist=22 item1_maxDist=24 item1_horiPredict=0.173 item1_vertPredict=0.149 item2_minDist=24 item2_maxDist=26 item2_horiPredict=0.176 item2_vertPredict=0.151 item3_minDist=26 item3_maxDist=28 item3_horiPredict=0.181 item3_vertPredict=0.154 item4_minDist=28 item4_maxDist=30 item4_horiPredict=0.185 item4_vertPredict=0.158 item5_minDist=30 item5_maxDist=32 item5_horiPredict=0.190 item5_vertPredict=0.161 item6_minDist=32 item6_maxDist=34 item6_horiPredict=0.196 item6_vertPredict=0.165 item7_minDist=34 item7_maxDist=36 item7_horiPredict=0.202 item7_vertPredict=0.169 item8_minDist=36 item8_maxDist=38 item8_horiPredict=0.208 item8_vertPredict=0.173 item9_minDist=38 item9_maxDist=40 item9_horiPredict=0.215 item9_vertPredict=0.178 item10_minDist=40 item10_maxDist=42 item10_horiPredict=0.223 item10_vertPredict=0.183 item11_minDist=42 item11_maxDist=44 item11_horiPredict=0.230 item11_vertPredict=0.188 item12_minDist=44 item12_maxDist=46 item12_horiPredict=0.239 item12_vertPredict=0.194 item13_minDist=46 item13_maxDist=48 item13_horiPredict=0.248 item13_vertPredict=0.199 item14_minDist=48 item14_maxDist=50 item14_horiPredict=0.257 item14_vertPredict=0.205 item15_minDist=50 item15_maxDist=52 item15_horiPredict=0.267 item15_vertPredict=0.212 item16_minDist=52 item16_maxDist=54 item16_horiPredict=0.277 item16_vertPredict=0.218 item17_minDist=54 item17_maxDist=56 item17_horiPredict=0.288 item17_vertPredict=0.225 item18_minDist=56 item18_maxDist=58 item18_horiPredict=0.299 item18_vertPredict=0.232 item19_minDist=58 item19_maxDist=60 item19_horiPredict=0.311 item19_vertPredict=0.239 item20_minDist=60 item20_maxDist=62 item20_horiPredict=0.323 item20_vertPredict=0.247 item21_minDist=62 item21_maxDist=64 item21_horiPredict=0.335 item21_vertPredict=0.255 item22_minDist=64 item22_maxDist=66 item22_horiPredict=0.347 item22_vertPredict=0.262 item23_minDist=66 item23_maxDist=68 item23_horiPredict=0.359 item23_vertPredict=0.270 item24_minDist=68 item24_maxDist=70 item24_horiPredict=0.371 item24_vertPredict=0.277 item25_minDist=70 item25_maxDist=72 item25_horiPredict=0.384 item25_vertPredict=0.285 item26_minDist=72 item26_maxDist=74 item26_horiPredict=0.396 item26_vertPredict=0.293 item27_minDist=74 item27_maxDist=76 item27_horiPredict=0.408 item27_vertPredict=0.300 item28_minDist=76 item28_maxDist=78 item28_horiPredict=0.420 item28_vertPredict=0.308 item29_minDist=78 item29_maxDist=80 item29_horiPredict=0.432 item29_vertPredict=0.315 item30_minDist=80 item30_maxDist=82 item30_horiPredict=0.444 item30_vertPredict=0.323 item31_minDist=82 item31_maxDist=84 item31_horiPredict=0.457 item31_vertPredict=0.331 item32_minDist=84 item32_maxDist=86 item32_horiPredict=0.469 item32_vertPredict=0.338 item33_minDist=86 item33_maxDist=88 item33_horiPredict=0.481 item33_vertPredict=0.346 item34_minDist=88 item34_maxDist=90 item34_horiPredict=0.493 item34_vertPredict=0.354 item35_minDist=90 item35_maxDist=92 item35_horiPredict=0.505 item35_vertPredict=0.361 item36_minDist=92 item36_maxDist=94 item36_horiPredict=0.517 item36_vertPredict=0.369 item37_minDist=94 item37_maxDist=96 item37_horiPredict=0.530 item37_vertPredict=0.376 item38_minDist=96 item38_maxDist=98 item38_horiPredict=0.542 item38_vertPredict=0.384 item39_minDist=98 item39_maxDist=100 item39_horiPredict=0.554 item39_vertPredict=0.392 item40_minDist=100 item40_maxDist=102 item40_horiPredict=0.566 item40_vertPredict=0.399 item41_minDist=102 item41_maxDist=104 item41_horiPredict=0.578 item41_vertPredict=0.407 item42_minDist=104 item42_maxDist=106 item42_horiPredict=0.590 item42_vertPredict=0.415 item43_minDist=106 item43_maxDist=108 item43_horiPredict=0.602 item43_vertPredict=0.422 item44_minDist=108 item44_maxDist=110 item44_horiPredict=0.615 item44_vertPredict=0.430 item45_minDist=110 item45_maxDist=112 item45_horiPredict=0.627 item45_vertPredict=0.437 item46_minDist=112 item46_maxDist=114 item46_horiPredict=0.639 item46_vertPredict=0.445 item47_minDist=114 item47_maxDist=116 item47_horiPredict=0.651 item47_vertPredict=0.453 item48_minDist=116 item48_maxDist=118 item48_horiPredict=0.663 item48_vertPredict=0.460 item49_minDist=118 item49_maxDist=120 item49_horiPredict=0.675 item49_vertPredict=0.468 item50_minDist=120 item50_maxDist=122 item50_horiPredict=0.688 item50_vertPredict=0.476 item51_minDist=122 item51_maxDist=124 item51_horiPredict=0.700 item51_vertPredict=0.483 item52_minDist=124 item52_maxDist=126 item52_horiPredict=0.712 item52_vertPredict=0.491 item53_minDist=126 item53_maxDist=128 item53_horiPredict=0.724 item53_vertPredict=0.498 item54_minDist=128 item54_maxDist=130 item54_horiPredict=0.736 item54_vertPredict=0.506 item55_minDist=130 item55_maxDist=132 item55_horiPredict=0.748 item55_vertPredict=0.514 item56_minDist=132 item56_maxDist=134 item56_horiPredict=0.761 item56_vertPredict=0.521 item57_minDist=134 item57_maxDist=136 item57_horiPredict=0.773 item57_vertPredict=0.529 item58_minDist=136 item58_maxDist=138 item58_horiPredict=0.785 item58_vertPredict=0.537 item59_minDist=138 item59_maxDist=140 item59_horiPredict=0.797 item59_vertPredict=0.544 item60_minDist=140 item60_maxDist=142 item60_horiPredict=0.809 item60_vertPredict=0.552 item61_minDist=142 item61_maxDist=144 item61_horiPredict=0.821 item61_vertPredict=0.559 item62_minDist=144 item62_maxDist=146 item62_horiPredict=0.834 item62_vertPredict=0.567 item63_minDist=146 item63_maxDist=148 item63_horiPredict=0.846 item63_vertPredict=0.575 item64_minDist=148 item64_maxDist=150 item64_horiPredict=0.858 item64_vertPredict=0.582 item65_minDist=150 item65_maxDist=152 item65_horiPredict=0.870 item65_vertPredict=0.590 ]=]) f2:close() end gg.toast("✅ 经典左轮参数写入成功!") end -- 按钮4:全场景通用参数 function writeAimConfig4() local f1 = io.open(path_aim, "w") if f1 then f1:write([=[ [AimbotConfig] offsetX=-0.001 offsetY=0.002 offsetZ=1.2 predictFactorH=0.135 predictFactorV=0.1 groundPredictEnable=1 groundPredictDist=100 dis_predictFactorH=0.131 dis_predictFactorV=0.11 flyOffsetX=0.006 flyOffsetY=0.006 flyOffsetZ=1.22 flyPredictFactorH=0.186 flyPredictFactorV=0.185 flyPredictEnable=1 flyPredictDist=35 dis_flyPredictFactorH=0.12 dis_flyPredictFactorV=0.152 smoothFactor=0.25 isSmooth=0 checkGun=1 checkTeam=1 AngleLimit=1 DistanceJudge=1 hideAimbotCircle=0 AimMonster=1 ShowUp=0 aimCircleRadius=1000 maxAimDistance=140 ]=]) f1:close() end local f2 = io.open(path_preview, "w") if f2 then f2:write([=[ [CustomPredict] enable=1 itemCount=18 item0_minDist=0 item0_maxDist=4 item0_horiPredict=0.11 item0_vertPredict=0.192 item1_minDist=4 item1_maxDist=6 item1_horiPredict=0.114 item1_vertPredict=0.172 item2_minDist=6 item2_maxDist=14 item2_horiPredict=0.114 item2_vertPredict=0.17 item3_minDist=14 item3_maxDist=18 item3_horiPredict=0.115 item3_vertPredict=0.172 item4_minDist=18 item4_maxDist=25 item4_horiPredict=0.116 item4_vertPredict=0.162 item5_minDist=25 item5_maxDist=30 item5_horiPredict=0.125 item5_vertPredict=0.157 item6_minDist=30 item6_maxDist=35 item6_horiPredict=0.132 item6_vertPredict=0.16 item7_minDist=35 item7_maxDist=40 item7_horiPredict=0.14 item7_vertPredict=0.162 item8_minDist=40 item8_maxDist=45 item8_horiPredict=0.162 item8_vertPredict=0.17 item9_minDist=45 item9_maxDist=50 item9_horiPredict=0.164 item9_vertPredict=0.188 item10_minDist=50 item10_maxDist=55 item10_horiPredict=0.172 item10_vertPredict=0.208 item11_minDist=55 item11_maxDist=60 item11_horiPredict=0.17 item11_vertPredict=0.222 item12_minDist=60 item12_maxDist=65 item12_horiPredict=0.18 item12_vertPredict=0.258 item13_minDist=65 item13_maxDist=70 item13_horiPredict=0.192 item13_vertPredict=0.266 item14_minDist=70 item14_maxDist=75 item14_horiPredict=0.192 item14_vertPredict=0.274 item15_minDist=75 item15_maxDist=80 item15_horiPredict=0.194 item15_vertPredict=0.282 item16_minDist=80 item16_maxDist=85 item16_horiPredict=0.202 item16_vertPredict=0.294 item17_minDist=85 item17_maxDist=88 item17_horiPredict=0.214 item17_vertPredict=0.308 ]=]) f2:close() end gg.toast("✅ 全场景通用参数写入成功!") end -- 按钮5:猎枪顶参参数 function writeAimConfig5() local f1 = io.open(path_aim, "w") if f1 then f1:write([=[ [AimbotConfig] offsetX=0.003 offsetY=0.002 offsetZ=1.425 predictFactorH=0.128 predictFactorV=0.105 groundPredictEnable=1 groundPredictDist=35 dis_predictFactorH=0.085 dis_predictFactorV=0.106 flyOffsetX=0.008 flyOffsetY=0.005 flyOffsetZ=1.248 flyPredictFactorH=0.172 flyPredictFactorV=0.168 flyPredictEnable=1 flyPredictDist=42 dis_flyPredictFactorH=0.118 dis_flyPredictFactorV=0.161 smoothFactor=0.00 isSmooth=0 checkGun=1 checkTeam=1 AngleLimit=0 DistanceJudge=0 hideAimbotCircle=1 aimCircleRadius=3000 maxAimDistance=450 ]=]) f1:close() end local f2 = io.open(path_preview, "w") if f2 then f2:write([=[ [CustomPredict] enable=1 itemCount=100 item0_minDist=0 item0_maxDist=5 item0_horiPredict=0.118 item0_vertPredict=0.162 item1_minDist=5 item1_maxDist=10 item1_horiPredict=0.120 item1_vertPredict=0.163 item2_minDist=10 item2_maxDist=15 item2_horiPredict=0.122 item2_vertPredict=0.164 item3_minDist=15 item3_maxDist=20 item3_horiPredict=0.124 item3_vertPredict=0.165 item4_minDist=20 item4_maxDist=25 item4_horiPredict=0.126 item4_vertPredict=0.166 item5_minDist=25 item5_maxDist=30 item5_horiPredict=0.128 item5_vertPredict=0.167 item6_minDist=30 item6_maxDist=35 item6_horiPredict=0.130 item6_vertPredict=0.168 item7_minDist=35 item7_maxDist=40 item7_horiPredict=0.132 item7_vertPredict=0.170 item8_minDist=40 item8_maxDist=45 item8_horiPredict=0.135 item8_vertPredict=0.172 item9_minDist=45 item9_maxDist=50 item9_horiPredict=0.138 item9_vertPredict=0.174 item10_minDist=50 item10_maxDist=55 item10_horiPredict=0.141 item10_vertPredict=0.176 item11_minDist=55 item11_maxDist=60 item11_horiPredict=0.144 item11_vertPredict=0.178 item12_minDist=60 item12_maxDist=65 item12_horiPredict=0.147 item12_vertPredict=0.180 item13_minDist=65 item13_maxDist=70 item13_horiPredict=0.150 item13_vertPredict=0.182 item14_minDist=70 item14_maxDist=75 item14_horiPredict=0.153 item14_vertPredict=0.184 item15_minDist=75 item15_maxDist=80 item15_horiPredict=0.156 item15_vertPredict=0.186 item16_minDist=80 item16_maxDist=85 item16_horiPredict=0.159 item16_vertPredict=0.188 item17_minDist=85 item17_maxDist=90 item17_horiPredict=0.162 item17_vertPredict=0.190 item18_minDist=90 item18_maxDist=95 item18_horiPredict=0.165 item18_vertPredict=0.192 item19_minDist=95 item19_maxDist=100 item19_horiPredict=0.168 item19_vertPredict=0.194 item20_minDist=100 item20_maxDist=110 item20_horiPredict=0.172 item20_vertPredict=0.197 item21_minDist=110 item21_maxDist=120 item21_horiPredict=0.176 item21_vertPredict=0.200 item22_minDist=120 item22_maxDist=130 item22_horiPredict=0.180 item22_vertPredict=0.203 item23_minDist=130 item23_maxDist=140 item23_horiPredict=0.184 item23_vertPredict=0.206 item24_minDist=140 item24_maxDist=150 item24_horiPredict=0.188 item24_vertPredict=0.209 item25_minDist=150 item25_maxDist=160 item25_horiPredict=0.192 item25_vertPredict=0.212 item26_minDist=160 item26_maxDist=170 item26_horiPredict=0.196 item26_vertPredict=0.215 item27_minDist=170 item27_maxDist=180 item27_horiPredict=0.200 item27_vertPredict=0.218 item28_minDist=180 item28_maxDist=190 item28_horiPredict=0.204 item28_vertPredict=0.221 item29_minDist=190 item29_maxDist=200 item29_horiPredict=0.208 item29_vertPredict=0.224 item30_minDist=0 item30_maxDist=5 item30_horiPredict=0.165 item30_vertPredict=0.172 item31_minDist=5 item31_maxDist=10 item31_horiPredict=0.167 item31_vertPredict=0.174 item32_minDist=10 item32_maxDist=15 item32_horiPredict=0.169 item32_vertPredict=0.176 item33_minDist=15 item33_maxDist=20 item33_horiPredict=0.171 item33_vertPredict=0.178 item34_minDist=20 item34_maxDist=25 item34_horiPredict=0.173 item34_vertPredict=0.180 item35_minDist=25 item35_maxDist=30 item35_horiPredict=0.175 item35_vertPredict=0.182 item36_minDist=30 item36_maxDist=35 item36_horiPredict=0.177 item36_vertPredict=0.184 item37_minDist=35 item37_maxDist=40 item37_horiPredict=0.179 item37_vertPredict=0.186 item38_minDist=40 item38_maxDist=45 item38_horiPredict=0.182 item38_vertPredict=0.189 item39_minDist=45 item39_maxDist=50 item39_horiPredict=0.185 item39_vertPredict=0.192 item40_minDist=50 item40_maxDist=55 item40_horiPredict=0.188 item40_vertPredict=0.195 item41_minDist=55 item41_maxDist=60 item41_horiPredict=0.191 item41_vertPredict=0.198 item42_minDist=60 item42_maxDist=65 item42_horiPredict=0.194 item42_vertPredict=0.201 item43_minDist=65 item43_maxDist=70 item43_horiPredict=0.197 item43_vertPredict=0.204 item44_minDist=70 item44_maxDist=75 item44_horiPredict=0.200 item44_vertPredict=0.207 item45_minDist=75 item45_maxDist=80 item45_horiPredict=0.203 item45_vertPredict=0.210 item46_minDist=80 item46_maxDist=85 item46_horiPredict=0.206 item46_vertPredict=0.213 item47_minDist=85 item47_maxDist=90 item47_horiPredict=0.209 item47_vertPredict=0.216 item48_minDist=90 item48_maxDist=95 item48_horiPredict=0.212 item48_vertPredict=0.219 item49_minDist=95 item49_maxDist=100 item49_horiPredict=0.215 item49_vertPredict=0.222 item50_minDist=100 item50_maxDist=110 item50_horiPredict=0.219 item50_vertPredict=0.226 item51_minDist=110 item51_maxDist=120 item51_horiPredict=0.223 item51_vertPredict=0.230 item52_minDist=120 item52_maxDist=130 item52_horiPredict=0.227 item52_vertPredict=0.234 item53_minDist=130 item53_maxDist=140 item53_horiPredict=0.231 item53_vertPredict=0.238 item54_minDist=140 item54_maxDist=150 item54_horiPredict=0.235 item54_vertPredict=0.242 item55_minDist=150 item55_maxDist=160 item55_horiPredict=0.239 item55_vertPredict=0.246 item56_minDist=160 item56_maxDist=170 item56_horiPredict=0.243 item56_vertPredict=0.250 item57_minDist=170 item57_maxDist=180 item57_horiPredict=0.247 item57_vertPredict=0.254 item58_minDist=180 item58_maxDist=190 item58_horiPredict=0.251 item58_vertPredict=0.258 item59_minDist=190 item59_maxDist=200 item59_horiPredict=0.255 item59_vertPredict=0.262 item60_minDist=200 item60_maxDist=210 item60_horiPredict=0.259 item60_vertPredict=0.267 item61_minDist=210 item61_maxDist=220 item61_horiPredict=0.263 item61_vertPredict=0.272 item62_minDist=220 item62_maxDist=230 item62_horiPredict=0.267 item62_vertPredict=0.277 item63_minDist=230 item63_maxDist=240 item63_horiPredict=0.271 item63_vertPredict=0.282 item64_minDist=240 item64_maxDist=250 item64_horiPredict=0.275 item64_vertPredict=0.287 item65_minDist=250 item65_maxDist=260 item65_horiPredict=0.279 item65_vertPredict=0.292 item66_minDist=260 item66_maxDist=270 item66_horiPredict=0.283 item66_vertPredict=0.297 item67_minDist=270 item67_maxDist=280 item67_horiPredict=0.287 item67_vertPredict=0.302 item68_minDist=280 item68_maxDist=290 item68_horiPredict=0.291 item68_vertPredict=0.307 item69_minDist=290 item69_maxDist=300 item69_horiPredict=0.295 item69_vertPredict=0.312 item70_minDist=300 item70_maxDist=310 item70_horiPredict=0.299 item70_vertPredict=0.317 item71_minDist=310 item71_maxDist=320 item71_horiPredict=0.303 item71_vertPredict=0.322 item72_minDist=320 item72_maxDist=330 item72_horiPredict=0.307 item72_vertPredict=0.327 item73_minDist=330 item73_maxDist=340 item73_horiPredict=0.311 item73_vertPredict=0.332 item74_minDist=340 item74_maxDist=350 item74_horiPredict=0.315 item74_vertPredict=0.337 item75_minDist=350 item75_maxDist=360 item75_horiPredict=0.319 item75_vertPredict=0.342 item76_minDist=360 item76_maxDist=370 item76_horiPredict=0.323 item76_vertPredict=0.347 item77_minDist=370 item77_maxDist=380 item77_horiPredict=0.327 item77_vertPredict=0.352 item78_minDist=380 item78_maxDist=390 item78_horiPredict=0.331 item78_vertPredict=0.357 item79_minDist=390 item79_maxDist=400 item79_horiPredict=0.335 item79_vertPredict=0.362 item80_minDist=400 item80_maxDist=410 item80_horiPredict=0.339 item80_vertPredict=0.367 item81_minDist=410 item81_maxDist=420 item81_horiPredict=0.343 item81_vertPredict=0.372 item82_minDist=420 item82_maxDist=430 item82_horiPredict=0.347 item82_vertPredict=0.377 item83_minDist=430 item83_maxDist=440 item83_horiPredict=0.351 item83_vertPredict=0.382 item84_minDist=440 item84_maxDist=450 item84_horiPredict=0.355 item84_vertPredict=0.387 item85_minDist=450 item85_maxDist=460 item85_horiPredict=0.359 item85_vertPredict=0.392 item86_minDist=460 item86_maxDist=470 item86_horiPredict=0.363 item86_vertPredict=0.397 item87_minDist=470 item87_maxDist=480 item87_horiPredict=0.367 item87_vertPredict=0.402 item88_minDist=480 item88_maxDist=490 item88_horiPredict=0.371 item88_vertPredict=0.407 item89_minDist=490 item89_maxDist=500 item89_horiPredict=0.375 item89_vertPredict=0.412 item90_minDist=500 item90_maxDist=510 item90_horiPredict=0.379 item90_vertPredict=0.417 item91_minDist=510 item91_maxDist=520 item91_horiPredict=0.383 item91_vertPredict=0.422 item92_minDist=520 item92_maxDist=530 item92_horiPredict=0.387 item92_vertPredict=0.427 item93_minDist=530 item93_maxDist=540 item93_horiPredict=0.391 item93_vertPredict=0.432 item94_minDist=540 item94_maxDist=550 item94_horiPredict=0.395 item94_vertPredict=0.437 item95_minDist=550 item95_maxDist=560 item95_horiPredict=0.399 item95_vertPredict=0.442 item96_minDist=560 item96_maxDist=570 item96_horiPredict=0.403 item96_vertPredict=0.447 item97_minDist=570 item97_maxDist=580 item97_horiPredict=0.407 item97_vertPredict=0.452 item98_minDist=580 item98_maxDist=590 item98_horiPredict=0.411 item98_vertPredict=0.457 item99_minDist=590 item99_maxDist=600 item99_horiPredict=0.415 item99_vertPredict=0.462 [Damage_Enhance] Damage_Multiplier=2.5 Headshot_Multiplier=3.0 Armor_Penetration=100 Range_Damage_Falloff=0 Pellet_Damage_Boost=1.8 ]=]) f2:close() end gg.toast("✅ 猎枪顶参参数写入成功!") end -- ========== 配置功能结束 ========== -- 菜单配置 menus = { { "配置", "风尘nu配置器", { { "t", "6.9.1最新猎枪参数", "一键写入猎枪专属双配置", writeAllConfig }, { "t", "6.9.1最新左轮", "一键写入新版左轮双配置", writeAimConfig2 }, { "t", "经典左轮", "一键写入经典左轮双配置", writeAimConfig3 }, { "t", "全场景通用参数", "一键写入通用适配双配置", writeAimConfig4 }, { "t", "猎枪顶参参数", "一键写入猎枪顶参双配置", writeAimConfig5 }, } }, } import "android.app.*" import "android.os.*" import "android.widget.*" import "android.view.*" import "android.content.*" import "java.util.*" import "java.lang.*" import "android.*" import "android.view.animation.Animation" import "android.view.animation.RotateAnimation" import "android.animation.ObjectAnimator" import "android.view.animation.ScaleAnimation" import "android.view.animation.Animation" import "android.view.animation.*" import "android.view.animation.DecelerateInterpolator" import "android.ext.*" import "android.graphics.*" import "android.graphics.drawable.*" context = activity window = context.getSystemService("window") -- 获取窗口管理器 xfc_large = false ooo1 = tonumber(device.getWidth) ooo2 = tonumber(device.getHeight) function getLayoutParams(flag) local LayoutParams = WindowManager.LayoutParams local layoutParams = luajava.new(LayoutParams) if Build.VERSION.SDK_INT >= 26 then -- 设置悬浮窗方式 layoutParams.type = LayoutParams.TYPE_APPLICATION_OVERLAY else layoutParams.type = LayoutParams.TYPE_PHONE end layoutParams.format = PixelFormat.RGBA_8888 -- 设置背景 layoutParams.flags = flag -- 焦点设置Finish layoutParams.gravity = Gravity.CENTER -- 重力设置 layoutParams.width = LayoutParams.WRAP_CONTENT -- 布局宽度 layoutParams.height = LayoutParams.WRAP_CONTENT -- 布局高度 return layoutParams end function moveTouch(id, lay, params) function id.onTouch(v, event) local Action = event.getAction() if Action == MotionEvent.ACTION_DOWN then RawX = event.getRawX() -- 获取X坐标 RawY = event.getRawY() -- 获取Y坐标 x = params.x -- 申明变量xmX为原X坐标 y = params.y -- 申明变量xmY为原Y坐标 elseif Action == MotionEvent.ACTION_MOVE then params.x = tonumber(x) + (event.getRawX() - RawX) params.y = tonumber(y) + (event.getRawY() - RawY) window.updateViewLayout(lay, params) end end end function miaobian(d, r, t, y) local InsideColor = Color.parseColor(t) local drawable = GradientDrawable() drawable.setShape(GradientDrawable.RECTANGLE) drawable.setColor(InsideColor) drawable.setCornerRadii({ r, r, r, r, r, r, r, r }); drawable.setStroke(d, Color.parseColor(y)) return drawable end function costimg(id, src, func, pad) local sw = { ImageView, layout_height = -1, layout_width = -1, layout_weight = "4.1", src = src, ColorFilter = 0xFFD0BCFF, padding = pad, onClick = function() pcall(func) end, id = id, } return sw end function dp2px(dpValue) --dp转px local scale = activity.getResources().getDisplayMetrics().scaledDensity return dpValue * scale + 0.5 end function threadStart(runnable) local newRun = luajava.createProxy("java.lang.Runnable", runnable) local subThread = luajava.newInstance("java.lang.Thread", newRun) subThread:start() return subThread end function getShepeBackground(color, radiu) --设置背景函数 drawable = luajava.new(GradientDrawable) drawable.setShape(GradientDrawable.RECTANGLE) drawable.setColor(color) drawable.setCornerRadii({ radiu, radiu, radiu, radiu, radiu, radiu, radiu, radiu }) return drawable end function natext(text, lay) local sw = { TextView, text = text, gravity = "center", layout_width = "80dp", layout_height = -1, padding = "5dp", ellipsize = "marquee", selected = true, singleLine = true, textSize = "13sp", textColor = 0xFFCAC4D0, onClick = function() cpage.setVisibility(View.GONE) lay.setVisibility(View.VISIBLE) cpage = lay end } return sw end function pline() return { View, layout_width = -1, layout_height = "1dp", background = getShepeBackground(0xFFCAC4D0, 10), layout_alignParentBottom = "true", } end --添加开关 function shizuku_switch(ojbk, parent) local sw = loadlayout({ Switch, text = ojbk[2], textColor = 0xFFF6EDFF, padding = "5dp", layout_width = -1, layout_height = "40dp", }) sw.ThumbDrawable.setColorFilter(PorterDuffColorFilter(0xFFD0BCFF, PorterDuff.Mode.SRC_ATOP)) sw.TrackDrawable.setColorFilter(PorterDuffColorFilter(0xFFD0BCFF, PorterDuff.Mode.SRC_ATOP)) sw.onClick = function() local mode = sw.checked and "open" or "close" threadStart({ run = function() pcall(ojbk[mode]) end }) end parent.addView(sw) parent.addView(loadlayout({ View, layout_width = -1, layout_height = "1dp", background = getShepeBackground(0xFFCAC4D0, 10) })) end function shizuku_text(ojbk, parent) local btn = loadlayout({ RelativeLayout, layout_height = "40dp", layout_width = -1, onClick = function() threadStart({ run = function() pcall(ojbk[4]) end }) end, { TextView, layout_alignParentTop = "true", layout_marginBottom = "20dp", layout_height = "24dp", layout_width = -1, text = ojbk[2], textSize = "14sp", textColor = 0xFFF6EDFF, }, { TextView, layout_height = "16dp", layout_width = -1, layout_alignParentTop = "true", layout_marginTop = "19dp", textSize = "11sp", text = ojbk[3], textColor = 0xFFCAC4D0, }, pline(), }) parent.addView(btn) end xfc = { LinearLayout, layout_height = "fill", layout_width = "fill", id = "touch", { RelativeLayout, layout_height = "320dp", layout_width = "260dp", background = getShepeBackground(0xFF405688, 30), id = "ooo", { LinearLayout, layout_height = -1, orientation = "vertical", layout_margin = "10dp", layout_width = -1, { LinearLayout, --顶部栏目 layout_height = "40dp", orientation = "horizontal", layout_width = -1, gravity = "center", { ImageView, layout_width = -1, layout_height = -1, layout_weight = "4.1", id = "logo", src = icon_file, }, { TextView, textColor = 0xFFD0BCFF, text = "FC科技", gravity = "center", textSize = "14sp", layout_height = -1, layout_width = -1, layout_weight = "3.35", }, costimg("xfc_dx", enlarge_path, function() if xfc_large == false then lllayoutParams = ooo.getLayoutParams() ooo1_jilu = lllayoutParams.width ooo2_jilu = lllayoutParams.height lllayoutParams.width = ooo1 lllayoutParams.height = ooo2 ooo.setLayoutParams(lllayoutParams) xfc_large = true xfc_dx.setImageDrawable(Drawable.createFromPath(shrink_path)) elseif xfc_large == true then lllayoutParams = ooo.getLayoutParams() lllayoutParams.width = ooo1_jilu lllayoutParams.height = ooo2_jilu ooo.setLayoutParams(lllayoutParams) xfc_dx.setImageDrawable(Drawable.createFromPath(enlarge_path)) xfc_large = false end end, "9dp"), costimg("xfc_yc", hide_path, function() window.removeView(xfc) window.addView(xfq, mainLayoutParams) end, "4dp"), costimg("xfc_exit", exit_path, function() window.removeView(xfc) luajava.exit() os.exit() end, "4dp"), }, { LinearLayout, --导航页 layout_height = "38dp", layout_width = -1, orientation = "vertical", { LinearLayout, layout_height = "35dp", layout_width = -1, { TextView, text = "⭐️", gravity = "center", layout_width = "20dp", textSize = "13sp", layout_height = -1, id = "page_delete", onClick = function() --删除最后一级页面 local coumt = view_list.getChildCount() if coumt > 1 then view_list.removeViewAt(coumt - 1) else gg.toast("不可删除主菜单界面") end end, }, { HorizontalScrollView, layout_height = -1, layout_width = -1, horizontalScrollBarEnabled = false, { LinearLayout, layout_height = -1, orientation = "horizontal", layout_width = -1, id = "view_list", }, }, }, }, { ScrollView, layout_width = -1, layout_height = -1, VerticalScrollBarEnabled = false, { RelativeLayout, --功能页 layout_height = -1, layout_width = -1, layout_margin = "3dp", id = "funclayout", { LinearLayout, layout_height = -1, orientation = "vertical", layout_width = -1, id = "main_list" }, }, }, }, { View, layout_width = "20dp", layout_height = "20dp", layout_alignParentRight = "true", layout_alignParentBottom = "true", id = "td", }, }, } function LoadUi() local LayoutParams = WindowManager.LayoutParams mainLayoutParams = getLayoutParams(LayoutParams.FLAG_NOT_FOCUSABLE) xfq = loadlayout({ LinearLayout, layout_width = "50dp", layout_height = "50dp", { ImageView, layout_width = "50dp", src = icon_file, id = "suspended_ball", layout_height = "50dp", }, }) moveTouch(suspended_ball, xfq, mainLayoutParams) function suspended_ball.onClick() window.removeView(xfq) window.addView(xfc, mainLayoutParams) end xfc = loadlayout(xfc) view_list.addView(loadlayout(natext("主菜单", main_list))) laytab = { main_list } cpage = laytab[1] moveTouch(touch, xfc, mainLayoutParams) view_list.getChildAt(0).getPaint().setFakeBoldText(true) --threadStart({run=function() for i = 1, #menus do local btn = loadlayout({ RelativeLayout, layout_height = "40dp", layout_width = -1, onClick = function() cpage.setVisibility(View.GONE) laytab[i + 1].setVisibility(View.VISIBLE) cpage = laytab[i + 1] local sw = loadlayout(natext(menus[i][1], laytab[i + 1])) sw.getPaint().setFakeBoldText(true) view_list.addView(sw) end, { TextView, layout_alignParentTop = "true", layout_marginBottom = "20dp", layout_height = "24dp", layout_width = -1, text = menus[i][1], textSize = "14sp", textColor = 0xFFF6EDFF, }, { TextView, layout_height = "16dp", layout_width = -1, layout_alignParentBottom = "true", layout_marginBottom = "3dp", textSize = "11sp", text = menus[i][2], textColor = 0xFFCAC4D0, }, pline(), }) local lyt = loadlayout({ LinearLayout, layout_height = -1, orientation = "vertical", Visibility = 8, layout_width = -1 }) table.insert(laytab, lyt) --activity.runOnUiThread(luajava.createProxy("java.lang.Runnable", {run = function() main_list.addView(btn) funclayout.addView(lyt) --end})) end for i = 1, #menus do for k = 1, #menus[i][3] do local mtab = menus[i][3][k] if mtab[1] == "t" then shizuku_text(mtab, laytab[i + 1]) elseif mtab[1] == "s" then shizuku_switch(mtab, laytab[i + 1]) end end end --end}) function td.OnTouchListener(v, event) if event.getAction() == MotionEvent.ACTION_DOWN then params = ooo.getLayoutParams() firstX = event.getRawX() firstY = event.getRawY() wmX = params.width wmY = params.height max = dp2px(350) --最大值,可以自己更改 min = dp2px(50) --最小值,可以自己更改 elseif event.getAction() == MotionEvent.ACTION_MOVE then local width = wmX + (event.getRawX() - firstX) local height = wmY + (event.getRawY() - firstY) if width < max and width > min then params.width = width ooo.setBackground(miaobian(5, 30, "#FF405688", "#FF00FF00")) elseif width > max then ooo.setBackground(miaobian(5, 30, "#FF405688", "#FFFF0000")) params.width = max elseif width < min then ooo.setBackground(miaobian(5, 30, "#FF405688", "#FFFF0000")) params.width = min end if height < max and height > min then params.height = height elseif height > max then params.height = max elseif height < min then params.height = min end ooo.setLayoutParams(params) elseif event.getAction() == MotionEvent.ACTION_UP then ooo.setBackground(getShepeBackground(0xFF405688, 30)) end return true end window.addView(xfq, mainLayoutParams) end Lock.Ui(LoadUi, nil, function(err) print(err) luajava.exit() end) os.exit()