Use turbo mode (Holding shift while clicking the flag)
Honestly pretty simple code all things considered Though it is me, so its probably stupidly complicated