SHARE
TWEET

Untitled

a guest Jan 22nd, 2020 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #NoEnv  
  2. ;#Warn  
  3. SetWorkingDir %A_ScriptDir%
  4. #SingleInstance, Force
  5.  
  6. IntMenuDelay := 600     ; Sets value(ms) for additional delay after opening interaction menu.
  7. KeySendDelay := 80      ; Sets value(ms) for delay between send key commands.
  8. KeyPressDuration := 70
  9. setkeydelay, %KeySendDelay%, %KeyPressDuration%
  10.  
  11.  
  12.  
  13. numpad1:: ; Call Mechanic
  14.     phoneFunction(11)
  15. return
  16.  
  17. numpad2:: ; Call Lester
  18.     phoneFunction(15)
  19. return
  20.  
  21. numpad3:: ; Call Mors Mutual
  22.     phoneFunction(9)
  23. return
  24.  
  25. numpad4:: ; Call Pegasus
  26.     phoneFunction(6)
  27. return
  28.  
  29. numpad5:: ; Call Merryweather
  30.     phoneFunction(10)
  31. return
  32.  
  33. numpad6:: ; Call Lamar
  34.     phoneFunction(17)
  35. return
  36.  
  37. numpad7:: ; Call Assistant
  38.     phoneFunction(25)
  39. return
  40.  
  41. ; Get the Oppressor from the Terrorbyte
  42. Numpad8::
  43. {
  44.   Send {m} {WheelDown} {WheelDown} {WheelDown} {WheelDown} {WheelDown}  {Enter} {WheelUp} {Enter} {WheelDown} {WheelDown} {Enter} {esc} {esc} {esc}
  45.   Return
  46. }
  47.  
  48. ; Get the Terrorbyte
  49. Numpad9::
  50. {
  51.   Send {m} {WheelDown} {WheelDown} {WheelDown} {WheelDown} {WheelDown}  {Enter} {WheelUp} {Enter} {Enter}
  52.   Return
  53. }
  54.  
  55. ; Get the Avenger
  56. Numpad0::
  57. {
  58.   Send {m} {WheelDown} {WheelDown} {WheelDown} {WheelDown} {WheelDown}  {Enter} {WheelUp} {WheelUp} {Enter} {Enter}
  59.   Return
  60. }
  61.  
  62. ; Snacks
  63. NumpadDiv::
  64. {
  65.   Send {m} {WheelDown} {WheelDown} {WheelDown} {WheelDown} {Enter} {WheelDown} {WheelDown} {Enter}
  66.   Return
  67. }
  68. ; Armor
  69. NumpadMult::
  70. {
  71.   Send {m} {WheelDown} {WheelDown} {WheelDown} {WheelDown} {Enter} {WheelDown} {Enter}
  72.   Return
  73. }
  74.  
  75. ; Keep Awake and Show Money
  76. F11::
  77. {
  78.     Toggle := !Toggle
  79.     If (Toggle = True)
  80.     SetTimer, AutoZ, On
  81.     Else
  82.     Reload
  83. }
  84.  
  85. ; Auto Fast-Track
  86. F10::
  87. {
  88.   Toggle := !Toggle
  89.   If (Toggle = True)
  90.   SetTimer, AutoFastTrack, On
  91.   Else
  92.   Reload
  93. }
  94. return
  95.  
  96. AutoFastTrack:
  97. {
  98.   SplashTextOn,,, Moving Mouse
  99.   MouseMove, 956, 678
  100.   Sleep 200
  101.   Send {Enter}
  102.   Sleep 200
  103.   MouseMove, 1081, 619
  104.   Send {Enter}
  105.   Sleep 4000
  106.   MouseMove, 966, 836
  107.   Send {Enter}
  108.   SplashTextOff
  109.   SplashTextOn,,, Waiting for Research
  110.   Sleep 210000
  111.   SplashtextOff
  112.   return
  113. }
  114.  
  115. AutoZ:
  116. {
  117.   SplashTextOn,,, Spamming!
  118.   Send z
  119.   Sleep 13000
  120.   SplashTextOff
  121.   return
  122. }
  123.  
  124. phoneFunction(count)
  125. {
  126.     ifwinexist ahk_class grcWindow
  127.     {
  128.         WinActivate
  129.         Winrestore
  130.         sleep, 20
  131.         Send {up}       ; Opens Cell Phone
  132.         sleep, 550
  133.         Send {WheelUp}
  134.         Sleep, 60
  135.         send {WheelUp}{Enter}
  136.         sleep, 60
  137.         loop,  %count%
  138.         {
  139.             Send {WheelUp}
  140.             sleep, 60
  141.         }
  142.         Send {Enter}
  143.        
  144.     }
  145.     return
  146. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top