$scoreboard players add @s[scores={combo=..9999}] combo $(amount)
$scoreboard players add @s[scores={combo=1..}] combo_timer $(timer)
scoreboard players add @s combo_timer 20

# scoreboard players set @s combo_reset 1