execute if score .mode engineer matches 1 run function animated_java:engineer_q/animations/build_1/tween {"duration":5,"to_frame":0}
execute if score .mode engineer matches 2 run function animated_java:engineer_q/animations/build_2/tween {"duration":5,"to_frame":0}
execute if score .mode engineer matches 3 run function animated_java:engineer_q/animations/build_3/tween {"duration":5,"to_frame":0}