UndyingSouls9423Disc

No Recoil

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