When timer is below 0.001, it switches to the next costume, but it keeps resetting the timer, meaning it will always be below 0.001, making it infinite.