HotKeySet("{Pause}", "Stop") while (1) _ResetView() ;Clicks compass _Abosord() ;Looks for white potion in inventory(broken)(holds the script here) _Overload() ;Looks for black potion in inventory _Rockcake() ;Clicks rock in inventory WEnd Func _Abosord() $OUT_POTION=False $pixels= PixelSearch(-1236, 695, -1032, 997, 0xB4BEC3,1) If Not(@error) Then _LC($pixels[0],$pixels[1]) Sleep (400) EndIf EndFunc Func _Overload() $OUT_POTION=False $pixels= PixelSearch(-1236, 695, -1032, 997, 0xB4BEC3,1) If Not(@error) Then _LC($pixels[0],$pixels[1]) Sleep (400) EndIf EndFunc Func _Rockcake() _LC(-1165, 761) EndFunc Func _ResetView() _LC(-1185, 62) EndFunc Func _LC($x, $y) MouseClick("left", $x, $y, 1, 10) EndFunc Func Stop() Sleep(10) Exit EndFunc