Advertisement
Guest User

LostArk antiAFK, F5 activar F6 desactivar

a guest
Feb 13th, 2022
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #NoEnv  ;
  2. ; #Warn  ;
  3. #SingleInstance force
  4. SendMode Input  ;
  5. SetWorkingDir %A_ScriptDir%  ;
  6.  
  7. SetGlobals(void)
  8. {
  9.     global
  10.     endLoop := 0
  11.     return
  12. }
  13.  
  14. F5 UP::
  15. {
  16.     SleepDuration := 60000
  17.     CoordMode, Mouse, Screen
  18.     MouseMove, ( (A_ScreenWidth // 2) ), (A_ScreenHeight // 2 )
  19.     Loop
  20.     {
  21.         if(endLoop = 1)
  22.         {
  23.             endLoop := 0
  24.             break
  25.         }
  26.            
  27.  
  28.         MouseClick, right
  29.         Sleep, %SleepDuration%  
  30.         if(endLoop = 1)
  31.         {
  32.             endLoop := 0
  33.             break
  34.         }
  35.        
  36.         /*
  37.         Send, {Space DOWN}
  38.         Sleep, %SleepDuration%
  39.         Send, {Space UP}
  40.         Sleep, %SleepDuration%
  41.         */
  42.     }
  43.     return
  44. }
  45.  
  46. F6 UP::
  47. {
  48.     if(endLoop = 0)
  49.         endLoop = 1
  50.     else
  51.         endLoop = 0
  52.     return
  53. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement