Advertisement
Guest User

Untitled

a guest
Aug 30th, 2017
2,154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.05 KB | None | 0 0
  1. #NoEnv
  2. #IfWinActive ahk_exe Absolver-Win64-Shipping.exe
  3. #SingleInstance Force
  4. #UseHook On
  5.  
  6. SendMouse_RelativeMove(x, y) {
  7. DllCall("mouse_event", "UInt", 0x01, "UInt", x, "UInt", y)
  8. }
  9.  
  10. ;-------------DOWN DODGE--------------
  11.  
  12.  
  13. #If GetKeyState("b", "P")
  14. *~s::
  15. SendMouse_RelativeMove(0, 100)
  16. Sleep 20
  17. return
  18.  
  19. #If GetKeyState("s", "P")
  20. *~b::
  21. SendMouse_RelativeMove(0, 100)
  22. Sleep 20
  23. return
  24.  
  25. ;-------------UP DODGE--------------
  26.  
  27. #If GetKeyState("b", "P")
  28. *~w::
  29. SendMouse_RelativeMove(0, -100)
  30. Sleep 20
  31. return
  32.  
  33.  
  34. #If GetKeyState("w", "P")
  35. *~b::
  36. SendMouse_RelativeMove(0, -100)
  37. Sleep 20
  38. return
  39.  
  40. ;-------------LEFT DODGE--------------
  41.  
  42. #If GetKeyState("b", "P")
  43. *~a::
  44. SendMouse_RelativeMove(-100, 0)
  45. Sleep 20
  46. return
  47.  
  48. #If GetKeyState("a", "P")
  49. *~b::
  50. SendMouse_RelativeMove(-100, 0)
  51. Sleep 20
  52. return
  53.  
  54. ;-------------RIGHT DODGE--------------
  55.  
  56. #If GetKeyState("b", "P")
  57. *~d::
  58. SendMouse_RelativeMove(100, 0)
  59. Sleep 20
  60. return
  61.  
  62. #If GetKeyState("d", "P")
  63. *~b::
  64. SendMouse_RelativeMove(100, 0)
  65. Sleep 20
  66. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement