My attack cooldown is broken, can someone help?

Hey, how can I fix my timer?

I want to have a cooldown on throwing attack

I made it, but it works in a weird way…

when you press the throw button and your attack is still in cooldown, then nothing happens (which is good)

BUT after that cooldown time passes, then that attack happens, which makes a delay

I know what causes this but I don’t know how to replace this
Can you guys help me out? <3


We discussed this on Discord and the issue probably comes from the movement handling events changing movement to 75 witzhout checking if the cooldown is set to 1.