Помогите сократить код и уменьшить лаги
если это возможно
Код:
HotKeySet("{F6}","_Exit")
WinWaitActive("Counter-Strike")
While 1
$Variable = PixelSearch(680,395,685,399,0xFF0000)
If IsArray($Variable) = True Then
MouseClick("LEFT")
EndIf
WEnd
While 1
$Variable2 = PixelSearch(680,395,685,399,0xFF0101)
If IsArray($Variable2) = True Then
MouseClick("LEFT")
EndIf
WEnd
While 1
$Variable3 = PixelSearch(680,395,685,399,0xBA0000)
If IsArray($Variable3) = True Then
MouseClick("LEFT")
EndIf
WEnd
Func _Exit()
Exit
EndFunc
если это возможно