wilmans2m

dblegends64

Apr 6th, 2024 (edited)
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 19.71 KB | Gaming | 0 0
  1. LUA = 'WILS2M'
  2. GLabel = 'DB LEGENDS'
  3. GProcess = 'com.bandainamcoent.dblegends_ww'
  4. GVersion = '5.1.0'
  5. xbit = 64
  6. LibResult = 1
  7. xlib = 'libil2cpp.so'
  8. xREV = 1  I={}
  9. xCNE = 0
  10. xSSE = 0
  11. XbitX = 1
  12. --███████████████████████
  13. expire='free'
  14. game = gg.getTargetInfo()
  15. P=game.processName
  16. FP=game.name
  17. L=gg.getTargetInfo().label
  18. M=gg.getTargetInfo()["label"]
  19. V=game.versionName
  20. TP=gg.getTargetPackage()
  21. xTAGx="Have fun"
  22. xLINKx="https://t.me/HxE_Chat"
  23. xLINK1x="https://www.tiktok.com/@hxesq"
  24. printx="---------------------------------------------------------------"
  25. print(printx)
  26. print(xTAGx)
  27. print("Telegram = "..xLINKx)
  28. print("TikTok = "..xLINK1x)
  29. print(printx)  
  30. print("Script = "..GLabel.."  "..GVersion)
  31.  
  32. --███████████████████████
  33. apex=1
  34. gg.setVisible(false)
  35. v=gg.getTargetInfo()
  36.     if v==nil then
  37.         print("×× ERROR ××\n×× INVALID PROCESS SELECTED / OR NO ROOT ACCESS")
  38.         gg.setVisible(true) os.exit()
  39.         return
  40.     end
  41.    
  42. HxEmenu = ('            ⚡HxE Menu by wils2m⚡\
  43.           ❦ ════ •⊰❂ - ❂⊱• ════ ❦\
  44.                     ⛥🇮‌🇳‌🇫‌🇴‌⛥\
  45.  🎮🅖🅐🅜🅔🎮 : '..GLabel..'\
  46.  🎰🅥🅔🅡🅢🎰 : '..GVersion..'\
  47.    🎰🅐🅡🅜🎰   : '..xbit..'\
  48. \
  49. ⏳Exᴘɪʀᴇᴅ Date⏳ : '..expire..'\
  50. 🎁 Encryption 🎁 :  '..expire..'\
  51.            ❦ ════ •⊰❂ - ❂⊱• ════ ❦')
  52.            
  53. gg.alert(HxEmenu)
  54.  
  55. print("In Collaboration With:")
  56. print("    ~ APEX[GG]v2 ~")
  57. xLINKx="https://t.me/apexgg2Home"
  58. print("Telegram = "..xLINKx)
  59.  
  60. gg.alert("                           Patch Note\
  61.           ❦ ════ •⊰❂ - ❂⊱• ════ ❦\
  62. - NEW\
  63. - Updated to 5.1.0 (x64 only)\
  64. - Added PvP Bot\
  65. - Play without Stamina\
  66. - Anti Cheat\
  67. ..............................................\
  68. - All Completed Challenge\
  69. - Disable ennemy\
  70. - One Hit K.O\
  71. - Timer stopped\
  72. - Unlimited Vanish\
  73. - Unlimited Rising Rush\
  74. - Reuse Arts cards\
  75. - Rising Rush Cards\
  76. - No Skill Cooldown\
  77. - No Ki Cost\
  78.            ❦ ════ •⊰❂ - ❂⊱• ════ ❦\
  79. ")
  80.  
  81. --███████████████████████    
  82.     if v.processName~=GProcess then
  83.         print("This Script is For:\n    "..GLabel.."\n    "..GProcess.."\nYou Selected:\n    "..v.label.."\n    "..v.processName)
  84.         gg.setVisible (true) os.exit()
  85.         return
  86.     end
  87. ------------------------------------------------------------------------------
  88.     if v.x64 then bitx=64 xBITx="[x64]" else bitx=32 xBITx="[x32]" end
  89.         print(xBITx)  
  90.         print(printx)  
  91. ------------------------------------------------------------------------------
  92.     if XbitX==1 then
  93.         if bitx~=xbit then
  94.             print("This Script is For "..xbit.."bit Process\nYour Process is "..bitx.."bit")
  95.             gg.setVisible(true) os.exit()
  96.             return
  97.         end
  98.     end
  99. ------------------------------------------------------------------------------
  100.     if GVersion~=v.versionName then
  101.         print("This Script is for Game Version:\n    "..GVersion.."\nYour Game Version is:\n    "..v.versionName)
  102.         gg.setVisible(true) os.exit()
  103.         return
  104.     end
  105. --███████████████████████
  106.     if LibResult==1 then
  107.     xAPEXx={} xXx=0
  108.     xLibRes=0
  109.     libx=gg.getRangesList()
  110.         if #(libx)==0 then
  111.         print("×× LIB ERROR #01 ××\nNo Libs Found\nTry a Different Virtual Environment \nor Try a Better Game Installation Method\nor Download Game From 'apkcombo.com' ")
  112.         gg.setVisible(true)
  113.         os.exit()
  114.         end
  115.     libx=gg.getRangesList(xlib)
  116.         if #(libx)==0 then  
  117.         print("×× No "..xlib.." Found")
  118.         xLibRes=2
  119.         goto APEX_SPLIT
  120.         end
  121.     xlibn=0
  122.         for i, v in ipairs(libx) do
  123.             if libx[i].state=="Xa" then
  124.             xXx=xXx+1
  125.             xAPEXx[xXx]=libx[i].start
  126.             xLibRes=1
  127.             end
  128.         end
  129.         if xLibRes==0 then
  130.         print("×× LIB ERROR #03 ××\nNo "..xlib.." Found in Xa\nTry a Different Virtual Environment \nor Try a Better Game Installation Method\nor Download Game From 'apkcombo.com' ")
  131.         gg.setVisible(true)
  132.         os.exit()    
  133.         end    
  134.                  
  135.         ::APEX_SPLIT::    
  136.         if xLibRes==2 then
  137.         splitapk=0
  138.         libx=gg.getRangesList()
  139.             for i, v in ipairs(libx) do
  140.                 if libx[i].state=="Xa" and string.match(libx[i].name,"split_config") then
  141.                 splitapk=1
  142.                 end
  143.             end
  144.             if splitapk==1 then
  145.             xsapk={} xsapkx=0
  146.                 for i, v in ipairs(libx) do
  147.                     if libx[i].state=="Xa" then
  148.                     xsapkx=xsapkx+1
  149.                     xsapk[xsapkx]=libx[i]["end"]-libx[i].start
  150.                     end
  151.                 end
  152.                 if xsapkx~=0 then                
  153.                 APEXQ=math.max(table.unpack(xsapk))
  154.                     for i, v in ipairs(libx) do              
  155.                         if libx[i].state=="Xa" and libx[i]["end"]-libx[i].start==APEXQ then              
  156.                         xXx=xXx+1            
  157.                        xAPEXx[xXx]=libx[i].start
  158.                         print("√√ Split Apk Lib Found\n√√ "..libx[i].name)
  159.                         xLibRes=1                      
  160.                         end
  161.                     end
  162.                 end
  163.             end
  164.          
  165.              if splitapk==0 and xLibRes~=1 then
  166.              print("×× No split_config Lib Found")  
  167.              xc=1 xt={}
  168.              libx=gg.getRangesList()
  169.                  for i, v in ipairs(libx) do
  170.                      if libx[i].state=="Xa" then
  171.                      xt[xc]=tonumber(libx[i]["end"]-libx[i].start)
  172.                      xc=xc+1
  173.                      end
  174.                  end
  175.              APEXQ=math.max(table.unpack(xt))
  176.                  for i, v in ipairs(libx) do              
  177.                      if libx[i].state=="Xa" and libx[i]["end"]-libx[i].start==APEXQ then        
  178.                      xXx=xXx+1      
  179.                      xAPEXx[xXx]=libx[i].start
  180.                      print("√√ math.max Xa Lib Found\n√√ "..libx[i].name)
  181.                      xLibRes=1  
  182.                      end
  183.                  end
  184.             end                        
  185.  
  186.             if xLibRes~=1 then
  187.             print("×× Correct Lib Not Found ××\n×× Direct/Split Config/Xa Max ××")
  188.             gg.setVisible(true)
  189.             os.exit()
  190.              return
  191.             end
  192.         end
  193.     end
  194. --███████████████████████
  195. function arm()
  196. o=tonumber(o)
  197.     for XxX=1,#(xAPEXx) do
  198.     xdump=nil xdump={}
  199.     xdump[1]={} xdump[2]={}
  200.     xdump[1].address=xAPEXx[XxX] + o
  201.     xdump[1].flags=4
  202.         if x==0 then xdump[1].value=xfalse end
  203.         if x==1 then xdump[1].value=xtrue end
  204.         if x~=0 and x~=1 then xdump[1].value=x end
  205.     xdump[2].address=xAPEXx[XxX]+(o+4)
  206.     xdump[2].flags=4
  207.     xdump[2].value=xEND
  208.     gg.setValues(xdump)
  209.     end
  210. end
  211. ------------------------------------------------------------------------------
  212. function xrev()
  213. if xREV==1 then
  214. xRx=1 ORIG={} xREV={}
  215.     for i, v in ipairs(I) do
  216.         ORIG[xRx]={}
  217.         ORIG[xRx].address=xAPEXx+tonumber(I[i])
  218.         ORIG[xRx].flags=4
  219.         xRx=xRx+1
  220.         ORIG[xRx]={}
  221.         ORIG[xRx].address=xAPEXx+tonumber(I[i])+4
  222.         ORIG[xRx].flags=4
  223.         xRx=xRx+1
  224.     end
  225. ORIG=gg.getValues(ORIG)
  226. end
  227. end
  228. ------------------------------------------------------------------------------
  229. function revert()
  230.     for XxX=1,#(xAPEXx) do
  231.     REVERT=nil REVERT={} xRx=nil xRx=1
  232.         for i, v in ipairs(ORIG) do
  233.             if tonumber(xAPEXx[XxX]+o)==ORIG[i].address then
  234.             REVERT[xRx]={}
  235.             REVERT[xRx].address=xAPEXx[XxX]+o
  236.             REVERT[xRx].flags=4
  237.             REVERT[xRx].value=ORIG[i].value
  238.             xRx=xRx+1
  239.             REVERT[xRx]={}
  240.             REVERT[xRx].address=xAPEXx[XxX]+o+4
  241.             REVERT[xRx].flags=4
  242.             REVERT[xRx].value=ORIG[i+1].value
  243.             gg.setValues(REVERT)
  244.             break
  245.             end
  246.         xRx=xRx+1
  247.         end
  248.     end
  249. end
  250. --███████████████████████
  251. if v.x64 then
  252. xtrue="h200080D2" -- MOV X0, #0x1
  253. xfalse="h000080D2" -- MOV X0, #0x0
  254. xEND="hC0035FD6" -- RET
  255. else
  256. xtrue="h0100A0E3" -- MOVW R0, #1
  257. xfalse="h0000A0E3" -- MOVW R0, #0
  258. xEND="h1EFF2FE1" -- BX LR
  259. end
  260. ------------------------------------------------------------------------------  
  261. if xREV==1 then
  262. xRx=1 ORIG={} xREV={}
  263.     for XxX=1,#(xAPEXx) do  
  264.         for i, v in ipairs(I) do
  265.         ORIG[xRx]={}
  266.         ORIG[xRx].address=xAPEXx[XxX]+tonumber(I[i])
  267.         ORIG[xRx].flags=4
  268.         xRx=xRx+1
  269.         ORIG[xRx]={}
  270.         ORIG[xRx].address=xAPEXx[XxX]+tonumber(I[i])+4
  271.         ORIG[xRx].flags=4
  272.         xRx=xRx+1
  273.         end    
  274.     end
  275. ORIG=gg.getValues(ORIG)
  276. end
  277. --███████████████████████
  278. ------------------------------------------------------------------------------
  279. gg.setRanges(gg.REGION_ANONYMOUS)
  280. ------------------------------------------------------------------------------
  281. OFF="× " ON="√ "
  282.  
  283. CC=OFF OH=OFF DE=OFF UV=OFF RR=OFF NC=OFF TS=OFF UC=OFF RC=OFF BT=OFF ST=OFF AC=OFF
  284.  
  285. function menu()
  286. apex=0
  287. gg.toast("APEX[GG]v2\nwils2m")
  288. mc=gg.multiChoice({
  289. CC.."All Challenge complete",
  290. OH.."One Hit K.O",
  291. DE.."Disable ennemy",
  292. TS.."Timer stopped",
  293. UV.."Unlimited Vanish",
  294. RR.."Unlimited Rising Rush",
  295. NC.."No Skill Cooldown",
  296. UC.."ReUse Arts Cards",
  297. RC.."RisingRushBall/Card",
  298. BT.."PvP Bot",
  299. ST.."Play with 0 Stam",
  300. AC.."Anticheat",
  301.     "[ EXIT ]"},
  302.     {},xTAGx.."\n"..xLINKx.."\n"..GLabel.." "..GVersion.." "..xBITx)
  303.    
  304.     if mc==nil then cancel() return end
  305.     if mc[1] then chal() end
  306.     if mc[2] then oneh() end
  307.     if mc[3] then disable() end
  308.     if mc[4] then stoptimer() end
  309.     if mc[5] then vanish() end
  310.     if mc[6] then rising() end
  311.     if mc[7] then nocd() end
  312.     if mc[8] then usearts() end
  313.     if mc[9] then rushcard() end
  314.     if mc[10] then bot() end
  315.     if mc[11] then stam() end
  316.     if mc[12] then bypass() end
  317.     if OH==ON and RR==ON then choose() end
  318.     if UC==ON and RC==ON then choose2() end
  319.    
  320. xhaX={
  321. CC.."All Challenge complete",
  322. OH.."One Hit K.O",
  323. DE.."Disable ennemy",
  324. TS.."Timer stopped",
  325. UV.."Unlimited Vanish",
  326. RR.."Unlimited Rising Rush",
  327. NC.."No Skill Cooldown",
  328. UC.."ReUse Arts Cards",
  329. RC.."RisingRushBall/Card",
  330. BT.."PvP Bot",
  331. ST.."Play with 0 Stam",
  332. AC.."Anticheat",
  333.     }
  334. xhaX=table.concat(xhaX, "\n")
  335. xhaX=tostring(xhaX)
  336.  
  337.     if mc[13] then exit() return end
  338.  
  339. gg.toast("[√] Complete")
  340.  
  341. gg.alert("Hacks "..GLabel.." "..GVersion.." "..xBITx.."\n\n"..xhaX,"OK",nil,xTAGx)
  342.  
  343. end
  344. --███████████████████████
  345. --// Namespace: Btl.Team
  346. --public sealed class TeamStatus : IEventListener
  347. --public int GetArtsCost(ArtsType type)
  348. I[1]=0x31CE2B4
  349. function nocd()
  350.     if NC==OFF then
  351.     o=I[1] xrev() x=0 arm()
  352.     NC=ON
  353.     else
  354.     o=I[1] revert()
  355.     NC=OFF
  356.     end
  357. end
  358. --█████████████████████
  359. --// Namespace: Btl.Team
  360. --public sealed class TeamStatus : IEventListener
  361. --public RisingRushBallFlag get_risingRushBallFlag()
  362. --pr 4 x="hE02480D2"
  363. I[2]=0x31BF018
  364. function rising()
  365.     if RR==OFF then
  366.     o=I[2] xrev() x="hE00F80D2" arm()
  367.     RR=ON
  368.     else
  369.     o=I[2] revert()
  370.     RR=OFF
  371.     end
  372. end
  373. --█████████████████████
  374. --// Namespace: Btl.Team
  375. --public sealed class TeamStatus : IEventListener
  376. --public float SpendVanish()
  377. I[3]=0x31CD2F0
  378. --public float SpendVanish(float value)
  379. I[4]=0x31CD2FC
  380. function vanish()
  381.     if UV==OFF then
  382.     o=I[3] xrev() x=0 arm()
  383.     o=I[4] xrev() x=0 arm()
  384.     UV=ON
  385.     else
  386.     o=I[3] revert()
  387.     o=I[4] revert()
  388.     UV=OFF
  389.     end
  390. end
  391. --█████████████████████
  392. --// Namespace: Btl.AI
  393. -- public class AIController : AIControllerBase // TypeDefIndex:
  394. -- public override void Initialize(TeamManager ownTeam, AiData aiData)
  395. I[5]=0x2209CC0
  396. function disable()
  397.     if DE==OFF then
  398.     o=I[5] xrev() x=0 arm()
  399.     DE=ON
  400.     else
  401.     o=I[5] revert()
  402.     DE=OFF
  403.     end
  404. end
  405. --█████████████████████
  406. --public sealed class BattleManager : PeerSyncSingletonMonoBehaviour
  407. --public void SpendTimer(int delta)
  408. I[6]=0x2178DC0
  409. function stoptimer()
  410.     if TS==OFF then
  411.     o=I[6] x=0 arm()
  412.     TS=ON
  413.     else
  414.     o=I[6] revert()
  415.     TS=OFF
  416.     end
  417. end
  418. --█████████████████████
  419. --public class BattleChallengeManager
  420. --private static bool ChallengeCheck(int id, int target, int param*)
  421. I[7]=0x215C28C
  422. function chal()
  423.     if CC==OFF then
  424.     o=I[7] xrev() x=1 arm()
  425.     CC=ON
  426.     else
  427.     o=I[7] revert()
  428.     CC=OFF
  429.     end
  430. end
  431. --█████████████████████  
  432. -- public class CharacterMasterProxy // TypeDefIndex:
  433. --get_health_nonboost
  434. I[8]=0x2B3405C
  435. --get_form_health_gauge_num
  436. I[9]=0x2B36218
  437. --get_health_boostonly
  438. I[10]=0x2B3411C
  439. --get_health
  440. I[11]=0x2B34018
  441.  
  442. function oneh()
  443.     if OH==OFF then
  444.     o=I[8] xrev() x="h800C80D2" arm()
  445.     o=I[9] xrev() x=0 arm()
  446.     o=I[10] xrev() x=0 arm()
  447.     o=I[11] xrev() x=0 arm()
  448.     OH=ON
  449.     else
  450.     o=I[8] revert()
  451.     o=I[9] revert()
  452.     o=I[10] revert()
  453.     o=I[11] revert()
  454.     OH=OFF
  455.     end
  456. end
  457. --███████████████████████
  458. --// Namespace: Btl.Team
  459. --public sealed class TeamStatus : IEventListener
  460. --public bool ConsumeArtsCardHand(int handIndex)
  461. I[12]=0x31D14A4
  462. function usearts()
  463. o=I[12] x=0
  464.     if UC==OFF then xrev() arm() UC=ON
  465.     else revert() UC=OFF
  466.     end
  467. end
  468. --███████████████████████
  469. --public sealed class BattleSystemParam : SingletonMonoBehaviour<BattleSystemParam>
  470. --public int GetRisingRushBallDrawProbPer(int risingRushActivatedCount, int aliveCharaCountDisadvantage, int addendPer = 0)
  471. I[13]=0x35237A8 xrc="h800C80D2"
  472. function rushcard()
  473. o=I[13] x=xrc
  474.     if RC==OFF then xrev() arm() RC=ON
  475.     else revert() RC=OFF
  476.     end
  477. end
  478. --███████████████████████
  479. --// Namespace: GameScene.scene
  480. -- public class BattleStartFlow : SceneBase // TypeDefIndex:
  481. -- private IEnumerator CheckStaminaConfirmation() { }
  482. I[14]=0x27F9BAC
  483.  
  484. function stam()
  485.     o=I[14]
  486.     if ST==OFF then x=0 arm() else revert() end
  487.     if ST==OFF then ST=ON else ST=OFF end
  488. end
  489. --███████████████████████
  490.  
  491. --// Namespace: Btl
  492. -- public struct SNetworkBattleStatus // TypeDefIndex:
  493. -- public void Initialize(bool isNetwork, int ownNetworkBattleKey) { }
  494. I[15]=0x3191CEC
  495.  
  496. function bot()
  497.     o=I[15]
  498.     if BT==OFF then x=0 arm() else revert() end
  499.     if BT==OFF then BT=ON else BT=OFF end
  500.     end
  501. --███████████████████████
  502. --// Namespace: CodeStage.AntiCheat.Time
  503. --public class SpeedHackProofTime : KeepAliveBehaviour<SpeedHackProofTime>
  504. --private void OnSpeedHackDetected()
  505. I[16]=0x26ECA78
  506.  
  507. --// Namespace: CodeStage.AntiCheat.Storage
  508. --public struct ObscuredFileReadResult
  509. --public bool get_CheatingDetected() { }
  510. I[17]=0x26EFC44
  511.  
  512. --// Namespace: CodeStage.AntiCheat.Detectors
  513. --public abstract class ACTkDetectorBase<T> : KeepAliveBehaviour<T>
  514. --public bool get_IsCheatDetected() { }
  515. I[18]=0x47AF500
  516. --public bool get_IsStarted() { }
  517. I[19]=0x47AE514
  518. --protected override void Start()
  519. --0x47AE53C
  520. --internal virtual void OnCheatingDetected()
  521. --0x47AF608
  522.  
  523. --// Namespace: CodeStage.AntiCheat.Detectors
  524. --public class InjectionDetector : ACTkDetectorBase<InjectionDetector>
  525. --public static void StartDetection()
  526. I[20]=0x271A000
  527.  
  528. --// Namespace: CodeStage.AntiCheat.Detectors
  529. --public class ObscuredCheatingDetector : ACTkDetectorBase<ObscuredCheatingDetector>
  530. --public static ObscuredCheatingDetector StartDetection()
  531. I[21]=0x271B490
  532. --internal void OnCheatingDetected(IObscuredType type, object decrypted, object fake)
  533. --0x27088E4
  534.    
  535. --// Namespace: CodeStage.AntiCheat.Detectors
  536. --public class SpeedHackDetector : ACTkDetectorBase<SpeedHackDetector>
  537. --public static SpeedHackDetector StartDetection()
  538. I[22]=0x271BBC4
  539. --private bool IsTicksCheated(long ticks, ref long previousTicks, long reliableDelta)
  540. I[23]=0x271B6A0
  541.    
  542. --// Namespace: CodeStage.AntiCheat.Detectors
  543. --public class TimeCheatingDetector : ACTkDetectorBase<TimeCheatingDetector>
  544. --public bool get_IsCheckingForCheat()
  545. I[24]=0x271BAB4
  546. --private IEnumerator CheckForCheat()
  547. I[25]=0x271BC04
  548. --public static void StartDetection(Action detectionCallback, int interval)
  549. I[26]=0x271DA5C
  550.  
  551. --// Namespace: CodeStage.AntiCheat.Detectors
  552. --public class WallHackDetector : ACTkDetectorBase<WallHackDetector>
  553. --public static WallHackDetector StartDetection()
  554. I[27]=0x2721744
  555.    
  556. function bypass()
  557.     x=0
  558.     if AC==OFF then
  559.     for i = 16,27 do o=I[i] arm() end
  560.     else
  561.     for i = 16,27 do o=I[i] revert() end
  562.     end
  563.     if AC==OFF then AC=ON else AC=OFF end
  564. end
  565.  
  566. --███████████████████████
  567. --0x2177930
  568. --// Namespace: Btl.Manager
  569. --public sealed class BattleManager : PeerSyncSingletonMonoBehaviour<BattleManager>, IEventListener
  570. --public void Terminate(BattleManager.Result result = -1)
  571. --███████████████████████
  572. function choose()
  573. xchoose=gg.choice({
  574.     " \n√ ONE HIT KO\n× RISING RUSH\n ",
  575.     " \n× ONE HIT KO\n√ RISING RUSH\n "},
  576.     0,"These 2 Hacks Cannot be Active at Same Time,  Please Select New Hacks Condition")
  577.     if xchoose==nil then return end
  578.     if xchoose==2 then oneh() return end
  579.     if xchoose==1 then rising() return end
  580. end
  581.  
  582. function choose2()
  583. choosex=gg.choice({
  584.     " \n√ ReUse Arts Card\n× Rising Rush Card\n ",
  585.     " \n× ReUse Arts Card\n√ Rising Rush Card\n "},
  586.     0,"These 2 Hacks Cannot be Active at Same Time,  Please Select New Hacks Condition")
  587.    
  588.     if choosex==nil then rushcard() return end
  589.     if choosex==1 then rushcard() return end
  590.     if choosex==2 then usearts() return end
  591. end
  592. --███████████████████████
  593. --███████████████████████
  594. --███████████████████████
  595. function cancel()
  596. gg.toast("Cancelled")
  597. end
  598. ------------------------------------------------------------------------------  
  599. function wait()
  600. gg.toast("Please Wait..")
  601. end
  602. ------------------------------------------------------------------------------  
  603. function error()
  604. gg.toast("× ERROR ×")
  605. gg.sleep(1000)
  606. end
  607. ------------------------------------------------------------------------------  
  608. function exit()
  609. print("--------------------------------------------------------------------")
  610. print("More links - WILS2M")
  611. print("https://discord.gg/GB3K2CRk")
  612. print("https://www.tiktok.com/@helledengaming")
  613. print("https://odysee.com/@HellEtEden-gaming:9")
  614. print("https://vimeo.com/showcase/10427325")
  615. gg.processResume()
  616. gg.getListItems()
  617. gg.clearList()
  618. gg.getResults(gg.getResultsCount())
  619. gg.clearResults()
  620. gg.toast("[ EXIT ]")  
  621.     if xhaX~=nil then
  622.         print(printx)
  623.         print(xhaX)
  624.         print(printx)  
  625.     end
  626. gg.setVisible(true)
  627. os.exit()
  628. return
  629. end
  630. --███████████████████████
  631. while true do
  632.     if gg.isVisible() then
  633.         gg.setVisible(false)
  634.         menu()
  635.     else
  636.         if apex==1 then
  637.             gg.setVisible(false)
  638.             menu()
  639.         end
  640.     end
  641. end
  642.  
Add Comment
Please, Sign In to add comment