Advertisement
Guest User

Marsi Macro Code Haxball

a guest
Jan 4th, 2013
10,227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ; This code edit and compiled by ofiro aka marsi
  2. ; ISRAEL (C) #1
  3.  
  4.  
  5. /*
  6. Use ScrollLock to toggle this script on/off
  7. */
  8.  
  9. ;splashtext
  10.  
  11. Progress, B1 w400 cwFFFFFF fs18 zh0, Use ScrollLock to toggle the script`n On/Off, , , Arial
  12. Sleep 3000
  13. Progress, Off
  14.  
  15. ~Tab::
  16. if ( GetKeyState("ScrollLock", "T") ) ; this will be 'true' if ScrollLock is toggled 'on'
  17. Suspend, On
  18. Else
  19. send {}
  20. return
  21.  
  22. ~Enter::Suspend, Off
  23.  
  24. ;Wall Grab
  25. $c::
  26. if ( GetKeyState("ScrollLock", "T") ) ; this will be 'true' if ScrollLock is toggled 'on'
  27. {send, {x down}
  28. sleep, 10
  29. send, {x up}
  30. sleep, 25
  31. send, {x down}
  32. sleep, 10
  33. send, {x up}
  34. sleep, 300
  35. }
  36. else send z
  37. return
  38.  
  39. ;Double kick
  40. $z::
  41. if ( GetKeyState("ScrollLock", "T") ) ; this will be 'true' if ScrollLock is toggled 'on'
  42. {
  43. send, {x down}
  44. sleep, 53
  45. send, {x up}
  46. sleep, 53
  47. send, {x down}
  48. sleep, 53
  49. send, {x up}
  50. sleep, 53
  51. }
  52. else send c
  53. return
  54.  
  55.  
  56.  
  57.  
  58.  
  59. ;startup for RED
  60. F1::
  61. sleep 1000
  62. {
  63. send {Right Down}
  64. sleep, 700
  65. send {Right Up}
  66. send {Down Down}
  67. sleep, 1100
  68. send {Down Up}
  69. send {Up Down}{Right Down}
  70. sleep, 1630
  71. send {Up Up}{Right Up}
  72. send {Left Down}{Down Down}
  73. sleep, 100 ;200
  74. send {Left Up}{Down Up}
  75. ; The Fake ^
  76. send {Left Down}{Up Down}
  77. sleep, 50
  78. send {Left Up}{Up Up}
  79. send {Up Down}
  80. sleep, 52
  81. send {Up Down}{Right Down}
  82. sleep 190
  83. send {Up Up}{Right Up}
  84. send {Right Down}
  85. sleep 10
  86. send {Right Up}
  87. send, {x down}
  88. sleep, 1
  89. send, {x up}
  90. send {Right Down}
  91. sleep, 500
  92. send {Right Up}
  93. send {Right Down}{Down Down}
  94. sleep, 400
  95. send {Right Up}{Down Up}
  96. }
  97. return
  98.  
  99. ;startup for BLUE
  100. F2::
  101. sleep 1000
  102. {
  103. send {Left Down}
  104. sleep, 700
  105. send {Left Up}
  106. send {Down Down}
  107. sleep, 1100
  108. send {Down Up}
  109. send {Up Down}{Left Down}
  110. sleep, 1630
  111. send {Up Up}{Left Up}
  112. send {Right Down}{Down Down}
  113. sleep, 100 ;200
  114. send {Right Up}{Down Up}
  115. ; The Fake ^
  116. send {Right Down}{Up Down}
  117. sleep, 50
  118. send {Right Up}{Up Up}
  119. send {Up Down}
  120. sleep, 52
  121. send {Up Down}{LeftDown}
  122. sleep 120
  123. send {Up Up}{Left Up}
  124. send {Left Down}
  125. sleep 10
  126. send {Left Up}
  127. send, {x down}
  128. sleep, 1
  129. send, {x up}
  130. send {Left Down}
  131. sleep, 400
  132. send {Left Up}
  133. send {Left Down}{Down Down}
  134. sleep, 100
  135. send {Left Up}{Down Up}
  136. send {Left Down}
  137. sleep, 500
  138. send {Left Up}
  139. }
  140. return
  141.  
  142. ; Note: From now on whenever you run AutoHotkey directly, this script
  143. ; will be loaded.  So feel free to customize it to suit your needs.
  144.  
  145. ;Hoykey Scrollock - To Turn on / off the script
  146. ;Hotkey Tab - To Suspend the script
  147. ;Hotkey Enter - To Resume the script   
  148. ;Hotkey C - To grab the ball from the closest wall
  149. ;Hotkey Z - To double kick ball with the weight angel
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement