So I did found something on yt that I can say it works.
Here is the code:
if lastPunch[plr] then
local passedTime = os.clock() - lastPunch[plr]
if passedTime >= 2 then
count = 1
char:SetAttribute("Combo", count)
end
end
lastPunch[plr] = os.clock()
end