[SOLVED][HELP] Programm AutoIt
I have make a scribt (aimbot) with AutoIt but i think i have a fail in that.
Can one help me??
Code:
HotKeySet("{F1}","Start")
HotKeySet("{F2}","Pause")
Global $funcs = false
Func Start()
$funcs = True
EndFunc
Func Pause()
$funcs = False
while $funcs = False
WEnd
EndFunc
Func Ende()
Exit
EndFunc
while 1
if $funcs = True then
$pixrand = PixelSearch(0, 0, @DesktopWidth,@DesktopHeight, 0x5178C0, 0, 3, crossfire)
if IsArray($pixrand) = True Then
MouseMove($pixrand[0],$pixrand[1],1)
MouseClick("left")
EndIf
EndIf
WEnd