To see how this works, look at the square constantly changing colour, u will see that the lower the FPS is the slower it goes to the next costume