How do I make toggleable R6 Ragdoll

I looked Up yt vids on how to make R6 ragdoll but they would never have a good one. It would always be ragdoll on death I wanna make toggleable for combat, skills ect… I cant find anything on it though

Disable the motors instead of deleting them.
Also, this is in the wrong category.

thank you my bad about the catagory