do NOT click the flag, u will have to exit out and go back into scratch like, 5 times before it lets u do anything!
i used similar code to another one of my projects called lag simulator.