Help 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 below me. 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
Its preatty simple
Quote Originally Posted by Tomeo213 View Post
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 below me. 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
Its preatty simple
Glad to help you out, hit me up on Skype and I'll be able to help you.
as the script is right now, once you start it you cant stop it xD

The problem probably lies in the game, I'll be able to help you on Skype.
Posts 1–2 of 2 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us