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

tag @s remove aj.hermit_crab.anim.hide
scoreboard players set @s aj.frame 0
scoreboard players operation .oldValue aj.i = .noScripts aj.i
scoreboard players set .noScripts aj.i 1
function hermit_crab:animations/hide/next_frame
scoreboard players operation .noScripts aj.i = .oldValue aj.i
scoreboard players set @s aj.frame 0
scoreboard players set #execute aj.i 1