Why does NPC animation not work?`

I an animating an old zombie model so I put an Animate script inside it and it walks in a weird way like the body parts are stuck. Here is an example:


Could it have something to do with the welds in the zombie? I tried changing the animation ID but that doesn’t work so I need to know what I am doing wrong

What’s the animate script’s type (local or server)?

Server
Capture