Add branch at beginning to see if cooldown is active, at end enable cooldown and after delay disable cooldown
My pleasure
thank you for the help