So, I have the following script:
It works great but there's one problem: it doesn't stop until the game ends. What I mean is, it will keep tracking the color until the game is over and the color doesn't appear anymore. I try pressing F2 and even ctrl+alt+s as YoHoJo's video suggests but none of those work. Is there a way to stop the script prematurely?Code:program CurveBall; procedure PlayPong; var x,y: integer; begin if FindColorSpiralTolerance(x, y, 15728626, 47, 52, 612, 428, 0) then //above finds the color of the ball to find coords to move mouse to begin MoveMouse(x, y); ClickMouse(x, y, 1); end; end; begin MoveMouse(333, 223); //move mouse to the "start game" button ClickMouse(333, 223, 1); //click "start game" wait(2000); //waits 2 seconds to account for "level one" repeat PlayPong; until(false); end.


Reply With Quote









