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.