Weapon Weld for Player Arm

  1. What do you want to achieve?
    I want to place my Pika Sword on the players right arm, without making it a tool for a lunge ability

  2. What is the issue? I

image

The Player Should be holding the part, but the part is in the torso it seems like

local function giveSword(character)
	local arm = character:WaitForChild("Right Arm", 1)
	if (arm ~= nil) then
		local s = sword:Clone()
		s.Parent = character
		local w = Instance.new("Motor6D")
		w.Part0 = arm
		w.Part1 = s
		w.Parent = arm
	end
end```

code of the script

It looks like it is attached to the arm, but the Motor6D that you use doesn’t have any offsets, so the center of the sword is attached to the center of the arm. You’ll need to define some offsets, use an Attachment instead, or find some other way to make the sword be “held”.

You can test by jumping in game. The sword should move with the character’s arm when it moves.