#example_projがヒットした時に起動
particle minecraft:crit ~ ~ ~ 0 0 0 0.3 10
playsound entity.player.attack.weak player @a ~ ~ ~ 1 1.7
kill @s