Custom rig can't stand up

Basically I made a custom rig but for some reason it freezes when I run the game and whenever I anchor then quickly unanchor him he just starts flipping and becomes unable to stand up.

I provided a video showcasing the situtation.

External Media

something else I need to mention is that the rig’s torso can’t be interacted with in the animation editor (I can’t animate the torso) at all…

Anything helps.

did you place a humanoid in the rig?

do you have a humanoidRootPart? (thats the parent of the torso?)

@Puma_incredible and @Hazelfluff
yes, the rig has a Humanoid and a HumanoidRootPart.
Here is what it looks like in the explorer:

I apologize for the late reply

Maybe you didn’t name the parts right nvm I see the names