Resetting Jumps and Ability Cooldowns after killing an enemy

I would like to know how can I reset my character’s jump(which goes on a 2 sec cooldown) after they’ve killed an enemy so that players can jump again immediately in the air, instead of falling after the jump. This is a mechanic in a game i saw called Dustforce

Hey @vusacci! Welcome to the forums!

Do you have enemy damage set up?
What does your jump code look like?
What does your attack code look like?

If you can get us screenshots of this stuff, we’ll be way more able to help :slight_smile: