i try this oneShameless plug
It has stuff for command coooldowns, some methods of doing item cooldowns, and stuff about cooldown messages
time between {cooldown::%player's uuid%} and now is less than 5 seconds:
message "On cooldown!" to player
else:
#do stuff
set {cooldown::%player's uuid%} to now didint work