Easy. Firstly, there’s a plugin for that. Read this. Steps on how to do this:
- Group all the parts you’re using into one model
- Insert a Humanoid
- Create the joints you need to create
You can easily manipulate the joints with this plugin. Watch this for a tutorial on the plugin and how to complete the steps listed.
Hope this helped,