Advertisement
Guest User

Untitled

a guest
Apr 6th, 2020
4,493
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
AutoIt 0.29 KB | None | 0 0
  1. HotKeySet("p", "aim")
  2. HotKeySet("{ESC}", "end")
  3.  
  4.  
  5. while 1
  6.    sleep(50)
  7. WEnd
  8.  
  9.  
  10.  
  11.  
  12. Func aim()
  13.    while 1
  14.       $PIX = PixelSearch(661, 339,1259, 757,0xFFDBC3,1)
  15.       if IsArray($PIX) Then
  16.          MouseMove($PIX[0], $PIX[1],1)
  17.       EndIf
  18.    WEnd
  19. EndFunc
  20.  
  21.  
  22. Func end()
  23.    Exit
  24.    EndFunc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement