is On Cooldown
Checks if the given key is currently on cooldown.
Return
True if the key is still on cooldown, false otherwise.
Parameters
key
The unique key associated with the cooldown (typically the player’s name).
delay
The cooldown duration in milliseconds.