execute if score @s left.hold matches 3.. run scoreboard players set @s left.hold 0
execute if score @s up.hold matches 3.. run scoreboard players set @s up.hold 0
execute if score @s down.hold matches 3.. run scoreboard players set @s down.hold 0
execute if score @s right.hold matches 3.. run scoreboard players set @s right.hold 0