execute at @e[tag=player2,nbt={HurtTime:10s}] run playsound entity.player.hurt player @a ~ ~ ~
stopsound @a[distance=..30] hostile minecraft:entity.skeleton.hurt
advancement revoke @s only survivalplus:tools/player/badbone/hurt