Out of curiosity, what are you trying to do exactly? And in what situations do you want this cooldown to kick in?
I ask this because this, using the previous answer as basis, effectively works like a pseudo-cooldown:
local function DmgRoll(player) --Named it loosely from what I've assumed the...