execute if score .mode engineer matches 1 run function animated_java:engineer_q/animations/idle/tween {"duration":5,"to_frame":20}
execute if score .mode engineer matches 2 run function animated_java:engineer_q/animations/idle_2/tween {"duration":5,"to_frame":20}
execute if score .mode engineer matches 3 run function animated_java:engineer_q/animations/idle_3/tween {"duration":5,"to_frame":20}
tag @s add idle