Opt("WinWaitDelay", 100) Opt("WinTitleMatchMode", 4) Opt("WinDetectHiddenText", 1) Opt("MouseCoordMode", 2) Opt("PixelCoordMode", 2) WinWait("Unreal Flash", "") If Not WinActive("Unreal Flash", "") Then WinActivate("Unreal Flash", "") WinWaitActive("Unreal Flash", "") HotKeySet("{END}", "Terminate") $bot = 0 $HP_Bar = 0x000099; While $bot = 0 $coord = PixelSearch(30, 55, 850, 450, $HP_Bar, 1) If Not @error Then $coord[0] = $coord[0] + 25 ; Reposition The Mouse Coords $coord[1] = $coord[1] + 30 ; To Click The Model Head :P MouseClick("left", $coord[0], $coord[1], 2, 1) Sleep(100); Lag Correction Else Sleep(100); Lag Correction Endif WEnd Func Terminate() $MB_MsgBoxButtons = 5 $MB_Cancel = 2 If MsgBox($MB_MsgBoxButtons, "You Stopped the Bot!", "Retry or Cancel the bot?") == $MB_Cancel Then Exit EndIf EndFunc