Hello i need help in this script i can fix this error , the script works but i receive this error
My Code:
Opt("WinTitleMatchMode", 4)
HotKeySet("{INSERT}", "_Pause")
Global $pause = True
HotKeySet ("{END}", "_Exit")
While 1
Sleep(250)
WEnd
Func Start()
While 1
If Not $pause And WinActive("classname=LWJGL") Then
$pxs = PixelSearch(0,0,1919,1079,0xCA0000)
If isArray($pxs) then
MouseMove($pxs[0],$pxs[1], 0)
MouseClick("Left")
EndIf
EndIf
$cStatus = 0
$tmp = 0
EndIf
Sleep(10)
WEnd
Func _Exit()
Exit
EndFunc
Func _Pause()
$pause = Not $pause
If $pause Then
TrayTip("Paused", "Aiming paused", 15)
Else
TrayTip("Unpaused", "Aiming!", 15)
EndIf
EndFunc