Help with making a soldier character when he dies turning him into a ragdoll

Hello BA, I am currently helping someone making a fps. RN I need some help with enemy A.I deaths. What I am looking for is when the enemy dies, they turn into a ragdoll. Anyone mind to help me achieve this? Also, I need some help + suggests on how to make the enemy walk. I will be helpful if you can respond with instructions and an example. If you are wondering, I do not have a download file, I am starting this from scratch for the first time (i am a rigging and modeling NOOB)

Any help will be greatly appreciated!!

I figured it out after 14 hours