Scripts Games Try Our Executor
Login Sign Up

Warning: Cannot modify header information - headers already sent by (output started at /home/scribcjm/public_html/includes/header.php:312) in /home/scribcjm/public_html/script.php on line 17
; --------------------------------------------------------- ; Auto?clicker – Refresh + Blue?item selector ; Press F1 to enable / disable ; --------------------------------------------------------- #Persistent SetBatchLines, -1 CoordMode, Pixel, Screen ; work in screen coordinates CoordMode, Mouse, Screen ; ---------- USER SETTINGS ---------- refreshX := 500 ; X?position of the Refresh button refreshY := 30 ; Y?position of the Refresh button ; Blue colour range (you can widen the tolerance if needed) blueMin := 0x0000FF ; pure blue tolerance := 10 ; colour?match tolerance ; ----------------------------------- toggle := true ; start enabled SetTimer, ClickRoutine, 100 ; run every 100?ms F1:: ; *** F1 = on/off switch *** toggle := !toggle ToolTip % toggle ? "Auto?Clicker ON" : "Auto?Clicker OFF" SetTimer, ClickRoutine, % toggle ? 100 : "Off" Sleep, 1000 ToolTip return ClickRoutine: ; 1?? Click the Refresh button Click, %refreshX%, %refreshY% Sleep, 200 ; give the UI a moment to update ; 2?? Find the first pixel that matches our blue range PixelSearch, bx, by, 0, 0, A_ScreenWidth, A_ScreenHeight , blueMin, tolerance, Fast RGB if (ErrorLevel = 0) ; found a blue pixel Click, %bx%, %by% ; click that spot return