# tag @s remove idle
function animated_java:slime_queen/animations/idle/stop
function animated_java:slime_queen/animations/walk/tween {to_frame:0,duration:3}
# execute if entity @s[tag=attack_string] run function animated_java:slime_queen/animations/attack_string/resume
tag @s add walk
tag @s remove idle