I have recently started using a Timeline in JavaFX to make an event happen, using a KeyFrame, and it works perfectly, except for the fact that it runs infinitely, and I hav