
# -> Reset adv trigger
advancement revoke @s only overly_realistic:items/use_bandage

# -> Add to bandage timer
scoreboard players add @s OverlyRealistic.Player.UseBandageTimer 1

# -> If timer is less than the max then return
execute unless score @s OverlyRealistic.Player.UseBandageTimer matches 10.. run \
    return fail

# -> Reset timer
scoreboard players reset @s OverlyRealistic.Player.UseBandageTimer

# -> Sound
playsound minecraft:block.wool.step player @a ~ ~ ~ 0.5 2
