Issue welding a sword

so i was trying to weld this sword to my hand, anyone know why it goes to my shoulder?
i have ann attachment on my katana and I set its Cframe to the Cframe of the attachment on my hand
image

local module = {}
module.WeaponEquip = function(player,WeaponName)
	local char = player.Character
	local rightarm = char:WaitForChild("Right Arm")
	for i,v in script.Parent.WeaponHander.SwordBlade:GetChildren() do
		if v.Name == WeaponName then
			for i, s in char:GetChildren() do
				if s.Name == WeaponName then
					s.CASEPart.Basic_Handle.Transparency = 1
				end
			end
			local Blade = v:Clone()
			Blade.Parent = char
			local weld = Instance.new("Weld")
			weld.Name = "Part_Weld"
			weld.Part0 = rightarm
			weld.C0 = Blade.Grip.CFrame
			weld.Part1 = Blade
			weld.C1 = rightarm.RightGripAttachment.CFrame
			weld.Parent = char
		end
	end
	
end

return module
2 Likes

Hello There!

Try making the Part0 be the GripAttachment and the Part1 be the Blade.Grip. then Parent the weld to the GripAttachment

Hope it helps :wink:

Hey Thanks for the help, unfortunately it doesn’t work, the sword also spawns in the middle of the map for a split second, then falls then disappears

Do you have any task.waits or any type of waits?

anyway if not then just do this

weld.C1 = rightarm.RightGripAttachment.CFrame * CFrame.new(0, -1, 0) -- change -1 to fit the arm, or C0 if thats the right one.