Spam the green flag to make the timing work.
Thank you @bookworm909 for doing all the coding! Sorry that it took so long, but I've been very busy lately, and when i did have time i forgot.