Press space (or click for mobile) as soon as the lights go out and try to beat the world record. If you press space before the lights go out, then the project will stop and you have to click the green flag again.
This is the original game: https://f1-start.glitch.me/ I just re-coded it on scratch World Record isn't updating for some reason...