execute as @s[scores={weapon_combo=1..,weapon_combo_reset=..0}] run scoreboard players set @s weapon_combo 0
execute as @s[scores={weapon_combo_reset=1..}] run scoreboard players remove @s weapon_combo_reset 1

execute if score .upgrade_9_cooldown archer matches 1.. run scoreboard players remove .upgrade_9_cooldown archer 1