#Project generated by Animated Java (https://animated-java.dev/)

scoreboard players operation # aj.id = @s aj.id
execute as @e[type=#hermit_crab:bone_entities,tag=aj.hermit_crab,distance=..5] if score @s aj.id = # aj.id run kill @s
kill @s
scoreboard players set #execute aj.i 1