Guest User

Autoit bots

a guest
Nov 4th, 2020
1,537
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
AutoIt 0.54 KB | None | 0 0
  1. ; First bot, place a tower in specific coordinates btd 6
  2.  
  3. HotKeySet("p", "setMonke")
  4.  
  5. while 1
  6.    Sleep(50)
  7. WEnd
  8.  
  9.  
  10. Func setMonke()
  11.    Sleep(10)
  12.    Send("q")
  13.    MouseClick("LEFT",697,335,1,500)
  14. EndFunc
  15.  
  16. ; second code (aimbot)
  17.  
  18. HotKeySet("p","aim")
  19. HotKeySet("{ESC}","killswitch")
  20.  
  21. while 1
  22.    Sleep(50)
  23. WEnd
  24.  
  25.  
  26. func aim()
  27.    while 1
  28.       $pix = pixelSearch(600, 348,1198, 766, 0xFFDBC3,1)
  29.       if IsArray($pix) Then
  30.          MouseClick("LEFT", $pix[0], $pix[1],1,1)
  31.       EndIf
  32.    WEnd
  33. EndFunc
  34.  
  35. func killswitch()
  36.    Exit
  37.    EndFunc
Advertisement
Add Comment
Please, Sign In to add comment