Custom Character Bones Ragdoll

Is there any existing module for ragdolls like this or do i need to script it myself?

I currently want to make a custom character ragdoll system like shown in the video but i can’t really find anything related to that topic.

Any help will be appreciated!