Hi! Try using Set Timer by Function Name and a Boolean variable to check if 300 seconds have passed.
I copied your code to explain it more clearly. Basically, at the end of the Custom Event, I just added Set Timer by Function Name, set the Function Name to the same Custom Event, and specified 300 seconds as the timer duration.
Finally, I created a Custom Event, named it Function, and made it so that when it starts, a variable will indicate that 300 seconds have passed, allowing the animation to be used again.
