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

tag @s add aj.hermit_crab.anim.walk
execute if score .aj.hermit_crab.framerate aj.i matches ..-1 run scoreboard players set @s aj.frame 20
execute if score .aj.hermit_crab.framerate aj.i matches 1.. run scoreboard players set @s aj.frame 0
scoreboard players add .noScripts aj.i 0
execute if score .aj.anim_loop aj.hermit_crab.animating matches 0 run function hermit_crab:animation_loop
scoreboard players set #execute aj.i 1