HingeConstraint with player issue

I have a problem with HingeConstraint like the video down here. (I use Motor6D as a welder from the character’s right hand to the sword)


Ignore errors in the output


Tool.Equipped:Connect(function()
	local Character = Tool.Parent;
	local RightHand = Character:WaitForChild("RightHand");
	Model = SwordModelFolder:WaitForChild("ChainSword"):Clone();
	Model.Parent = Character;
	
	Weld = Instance.new("Motor6D", RightHand);
	Weld.Name = "Sword";
	Weld.Part0 = RightHand;
	Weld.Part1 = Model.PrimaryPart;
	Weld.C0 = Weld.Part0.CFrame:ToObjectSpace(Weld.Part1.CFrame * CFrame.new(0, -0.125, 0) * CFrame.Angles(math.rad(90), 0, math.rad(90)));
end)

^ Code that weld character’s right hand to the sword

How can I fix this issue?
I tried to set all parts to massless but still can’t.

I can see your issue here. First, I want you to add Character.HumanoidRootPart.RootPriority = 1; to your code. Then, remove the 2nd argument to Instance.new since it will be better performance wise.

The third thing to do is to add Character.HumanoidRootPart.CustomPhysicalProperties = PhysicalProperties.new(100,1,1).

Additionally, you could set custom physical properties on the links of the sword parts to make them close to massless.

It is much better! Thank you for the solution.

1 Like