Motor6D will only attach one way, is there another way?

The Setup: I am having a problem with Motor6D’s, I have a Motor6D that is parented to the right hand of my guns view model when reloaded, and the part0 is set to the right hand, while the part1 is set to the gun’s view model handle.

What I have tried: I have tried mixing up the parenting, part0 and part1, trying different methods, etc. Nothing seems to work for me though. This is all being done on the client sided view model, for only the client to see.

The Problem: The end goal is to have the gun’s handle become attached to the right hand (for the animating purposes, temporarily). What happens is the opposite, no matter what I do. The RIGHT HAND becomes attached to the gun’s handle, now that doesn’t make any sense, does it? I need help figuring out how to attach the handle to the right hand, not the other way around.

View Model
image
Gun Parts
image

The Motor6D Code: Remember, I have already tried mixing it up, but it doesn’t fix the issue

Why I am trying to attach the Motor6D to the right hand and the gun handle: For those that don’t understand, it is being attached so this will be animatable. The inability for me to attach the gun’s handle to the right hand, means this does not animate properly, resulting in a horrible disaster as shown below.

https://i.gyazo.com/541aae4d07982bb1beb93a6c0f68b03a.mp4

If anyone has an idea on how to fix this, or could point out something I’m doing wrong, it would be greatly appreciated!

It doesn’t make any sense when you say

You can imagine Motor6D as a real joint, like your shoulder. Now you can’t say my arm is attached to my torso, but my torso isn’t attached to my arm, or vice versa. Your gun and right hand are attached to each other, in this case it doesn’t matter which is part0 and which is part1. The issue seen in your video can be because of number of things.

First of all as you said it is in a local script. Maybe you have done something on the server side that interfers with the animation.

It could be that your reloading (or whatever it is) animation priority is lower than your holding animation priority.

It could be that via the script motor6d is being attached incorrectly. To check this, try rigging the handle in the editor itself (not via script), and trying the same animation. If the problem persists, then the script is not the issue.

I have already tried dealing with animation priorities, and what I mean is the Motor6D is acting as a weld as well, but it’s attaching the view model’s right hand to the gun’s handle, but not the other way around. I can say that, as the handle seems unable to attach to anything else, but everything else seems to be able to attach to it. I have made countless tests, the problem is that the handle can’t attach to anything else, cause it results in my body parts being teleported to it. The gun is perfectly animateable, and does what it needs to, but will not comply, once again, due to the gun handle’s inability to attach to the right hand. If I try to attach the gun handle to my uppertorso for example, it will rip the uppertorso out and attach it to the gun handle instead.