This is the most detailed second that I could make. It took 1 hour If your FPS is lower than 10 FPS I recommend using longer checking speed, and if it is higher than 30 use 0.1 checking speed. Idk how this would be useful, but here it is :D