Guest User

prevent accidental kicks

a guest
Jun 25th, 2016
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. $M::
  2. Gosub Attack
  3. return
  4.  
  5. ;disable accidental kicks
  6. Attack:
  7. Send {w up}{a up}{s up}{d up} ;stops your movement
  8. Send {Z down}
  9. Sleep 31
  10. Send {Z Up}
  11. Sleep 100
  12. if (GetKeyState("W", "P")){
  13. Send {W down}
  14. }
  15. if (GetKeyState("A", "P")){
  16. Send {A down}
  17. }
  18. if (GetKeyState("D", "P")){
  19. Send {D down}
  20. }
  21. if (GetKeyState("S", "P")){
  22. Send {S down}
  23. }
  24. return
Advertisement
Add Comment
Please, Sign In to add comment