Disable then re-enable on a cooldown

Make a Boolean variable called “CanDash?”.

When the player presses F, add a branch to check if “CanDash?” is True or False.

When True, trigger the dash logic and set “CanDash?” to False. At the end, put a Delay node of 1s, and then at the end set “CanDash?” back to True.