Crouching animation in script

Hello, so I was trying to make this script for a game with an animation of crouching in the script the script is basically just supposed to be normal like soldier crouching but with their hands in their pockets.

I’m not very good at animation in script but, here’s what Im referring to (this is a sitting animation):
RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.1, 0.5 + math.sin(sine/7.5)/10, 0) * c_angles(math.rad(-20),math.rad(-20),math.rad(0)), 0.15)
LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.1, 0.5 + math.sin(sine/7.5)/10, 0) * c_angles(math.rad(-20),math.rad(20),math.rad(0)), 0.15)
LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/10, 0) * c_angles(math.rad(60),math.rad(20),math.rad(0)), 0.15)
RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/10, 0) * c_angles(math.rad(60),math.rad(-20),math.rad(0)), 0.15)
Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -3 + math.sin(sine/7.5)/10, 0) * c_angles(math.rad(20), math.rad(0),math.rad(0)), 0.15)
Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5 + math.sin(sine/15)/10, 0) * c_angles(math.rad(-20),math.rad(0), math.rad(0) + math.sin(sine/15)/5), 0.15)

I looked for quiet a bit on the dev forum and saw nobody cover this.

I don’t understand what any of this means if someone could tell me what all of that means I can do it by myself. However you could do it for me that would be pretty epic.

I’m not too familar with animations but im pretty sure you use an animation editor to create a track, (that deals with all that code internally) and then play that track, Animation Editor | Roblox Creator Documentation though i could be wrong

Are you by any chance new to animating? You might want to watch some videos on how to rig/animate because I do not use whatever you listed to animate.

This is a way to uh actually move the parts to animate (very in-efficient if you ask me)

Use animation editor. This, like you said is a way to animate using scripts and no aniamtions but uh, it’s useful in some cases.

Ok thanks! I will see if that works

Yes this is my first time animating, and no videos covered what I was trying to do.

I tried incorporating moon animator instead but, it didn’t work and I don’t feel like redoing the script

I tried that, however didn’t work. But is there a way to extract that internal code so that it looks basically the same.

Yes there is, but thats like coding in binary, and what you have up there, its bassicly nearly unintepretable and you have to have a understanding of sin, and cos to even imagine getting started. Use an animation editor. People don’t program in binary for a reason

k i will work on that thanks for helping