now this is for testing purposes only... as aimbot's in autoit been quite bad... the pixelsearch and pixelget function isnt nearly as good as it supposed to... aimbot's with pixelsearch is relative becouse its dependent on the terrain... my aimbot is suggested to be used in white maps.
- Code:
#Include <Misc.au3>
$dll = DllOpen("user32.dll")
pause()
Func pause()
while 1
HotKeySet("{Del}", "resume")
sleep(10)
WEnd
EndFunc
Func resume()
while 1
HotKeySet("{Pause}", "pause")
sleep(100)
If _IsPressed("01", $dll) Then
$search = PixelSearch(482, 364, 542, 404, 0x000000, 10)
if @error <> 1 then MouseClick("left", $search[0], $search[1], 1, 1)
endif
wend
EndFunc