Advertisement
Guest User

Untitled

a guest
Dec 15th, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. #NoEnv
  2. SendMode Input
  3.  
  4. _auto := true
  5.  
  6. ~shift::autofire()
  7. 9::_auto := ! _auto
  8.  
  9. autofire()
  10. {
  11. global _auto
  12. if _auto
  13. {
  14. Loop
  15. {
  16. if GetKeyState("shift", "P")
  17. {
  18. Sleep 25
  19. SendInput {m}
  20. }
  21. else
  22. break
  23. } ;; loop
  24. } ;; if
  25. } ;; autofire()
  26.  
  27. mouseXY(x,y)
  28. {
  29. DllCall("mouse_event",uint,1,int,x,int,y,uint,0,int,0)
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement