Once the boat hits the end zone (the "Treasure" zone), the script automatically clicks the reward pop-up, resets the character, buys a new boat plot, and restarts the cycle.