QuestionHelp with a code in autoit

Posts 1–2 of 2 · Page 1 of 1
Help with a code in autoit
So, i just randomly tought, "Hey, maybe i can do a pixel search aimbot for a game" And i actually did some research. The problem is that whenever i turn the script on and the color is in the range, it snaps onto the ground. Can someone tell me what im doing wrong ?
Here is the script:
Code:
HotKeySet("{HOME}","start")
HotKeySet("{end}","stop")
while 1
sleep(100)
WEnd
func stop()
Exit
EndFunc
func start()
while 1
$zmienna = PixelSearch(641, 357,721, 413,0x0BFF43)
if not @error Then
mousemove($zmienna[0],$zmienna[1],0)
EndIf
WEnd
EndFunc
Have been in contact with OP and issue has been resolved.
Posts 1–2 of 2 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us