Well as the tittle says need help creating an aim bot, i already started, the part that i don't understand is when i go in game, and start the aim bot, it moves the mouse every where it sees the color i put in the code so i think that in order for me to make it work i need to make chasm, and i don't know how or if there is another way with out the chasm here is my code and try to help me. Thanks. This is being made in autoit language since i find it easier to learn, i know is not that advance like c++, but i got to start somewhere. PLEASE TAKE OUT THE " " FROM THE @'s
Code:
While 1 = 1
$coord = PixelSearch(0, 0, "@"DesktopWidth, "@"DesktopHeight, 0x817966)
If Not "@"error Then
MouseClick("left", $coord[0], $coord[1])
EndIf
$coord = PixelSearch(0, 0, "@"DesktopWidth, "@"DesktopHeight, 0xC775539)
If Not "@"error Then
MouseClick("left", $coord[0], $coord[1])
EndIf
WEnd