function Main()
  menu = gg.multiChoice({
    "飞天开",
    "飞天关", 
    "全屏子追", 
    "无后",
    "范围伤害", 
    "秒换弹",
    "加速",
    "退出脚本",
    "防封开启",
  }, nil, os.date"萤火插件")
  if menu == nil then else
    if menu[1] == true then A1() end
    if menu[2] == true then A2() end
    if menu[3] == true then A3() end
    if menu[4] == true then A4() end
    if menu[5] == true then A5() end
    if menu[6] == true then A6() end
    if menu[7] == true then A7() end
    if menu[8] == true then kk() end end XGCK = -1 end
    
 function A1()
so=gg.getRangesList('libGame.so')[1].start
py=0x24614CC
setvalue(so+py,16,8.78807669e-21)
gg.toast("飞天开启成功")
print(str)
end
    
 function A2()
so=gg.getRangesList('libGame.so')[1].start
py=0x24614CC
setvalue(so+py,16,8.47283686e-21)
gg.toast("飞天关闭成功")    
print(str)
end
    
 function A3()
so=gg.getRangesList('libGame.so')[1].start
py=0x168C928
setvalue(so+py,16, 8.47705032e-21)
so=gg.getRangesList('libGame.so')[1].start
py=0x244B4F4
setvalue(so+py,16, 8.47705032e-21)
so=gg.getRangesList('libGame.so')[1].start
py=0x244B4F8
setvalue(so+py,16, 8.47705032e-21)
so=gg.getRangesList('libGame.so')[1].start
py=0x244B504
setvalue(so+py,16, 8.47705032e-21)
gg.toast("子追开启成功")
print(str)
end 
    
 function A4()
so=gg.getRangesList('libGame.so')[1].start
py=0x343F854
setvalue(so+py,16,8.84170853e-21)
gg.toast("无后开启成功")
print(str)
end    
    
 function A5()
so=gg.getRangesList('libGame.so')[1].start
py=0x1776460
setvalue(so+py,16,8.47705032e-21)
gg.toast("范围开启成功")
print(str)
end    
  
 function A6()
so=gg.getRangesList('libGame.so')[1].start
py=0x26AC758
setvalue(so+py,16,8.477050315019997e-21)
gg.toast("秒换弹开启成功")
print(str)
end 

 function A7()
so=gg.getRangesList('libGame.so')[1].start
py=0x367ECBC
setvalue(so+py,16,1.7626999616622925)
gg.toast("加速开启成功")
print(str)
end
    








    
    function kk() os.exit()end while true do if gg.isVisible(true) then XGCK = 1 gg.setVisible(false)end gg.clearResults() if XGCK == 1 then Main()end end