[SOLVED]Restart player problem

hi everyone i’m facing here a problem that when the player died i want it to play the death animation and then show the death layer all of that works fine but the problem is when the player press the “r” button to restart i doesn’t work like i have to press it multiple times to work

here’s a video explaining what’s going on :

ah the solution was easier than i thought i can’t delete this topic so the solution is just to add a trigger once condition and it will work.