Thanks for the code, it really helped me understand how to do it, however the console was giving me errors, using that kind of definition, and I wanted to keep the state machine where the player can only use the spell again 5 seconds after the initial cast, showing the time left in case he uses...