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

scoreboard players operation .this aj.id = @s aj.id
execute as @e[type=minecraft:armor_stand,tag=aj.hermit_crab.bone,distance=..5] if score @s aj.id = .this aj.id run function hermit_crab:set_variant/zzz/execute/7
scoreboard players set #execute aj.i 1