How do i weld parts in a tool?

Whenever I try to weld parts in a tool, there is always some sort of issue. EX: when I use a LocalScript, it works but only shows for the client. but, if I use a Script, it will teleport my character backwards.

local Tool = script.Parent
local Chest = Tool.Chest
local Helm = Tool.Helm
local RShoulder = Tool.RShoulder
local LShoulder = Tool.LShoulder
local Neck = Tool.Neck


Tool.Equipped:Connect(function()
	local Torso = Tool.Parent:WaitForChild("Torso")
	Chest.CFrame = Torso.CFrame * CFrame.new(0,0,0)
	local weld = Instance.new("Weld")
	weld.Part0 = Torso
	weld.Part1 = Chest
	weld.C0 = Torso.CFrame:Inverse()
	weld.C1 = Chest.CFrame:Inverse()
	weld.Parent = script.Parent

	local Right = Tool.Parent:WaitForChild("Right Arm")
	RShoulder.CFrame = Right.CFrame * CFrame.new(.3,.6,-0.03)
	local weld = Instance.new("Weld")
	weld.Part0 = Right
	weld.Part1 = RShoulder
	weld.C0 = Right.CFrame:Inverse()
	weld.C1 = RShoulder.CFrame:Inverse()
	weld.Parent = script.Parent

	local Left = Tool.Parent:WaitForChild("Left Arm")
	LShoulder.CFrame = Left.CFrame * CFrame.new(-.3,.6,-0.03)
	local weld = Instance.new("Weld")
	weld.Part0 = Left
	weld.Part1 = LShoulder
	weld.C0 = Left.CFrame:Inverse()
	weld.C1 = LShoulder.CFrame:Inverse()
	weld.Parent = script.Parent


	local Head = Tool.Parent:WaitForChild("Head")
	Helm.CFrame = Head.CFrame * CFrame.new(0,0,0)
	local weld = Instance.new("Weld")
	weld.Part0 = Head
	weld.Part1 = Helm
	weld.C0 = Head.CFrame:Inverse()
	weld.C1 = Helm.CFrame:Inverse()
	weld.Parent = script.Parent

	local Head = Tool.Parent:WaitForChild("Head")
	Neck.CFrame = Head.CFrame * CFrame.new(0,0,0)
	local weld = Instance.new("Weld")
	weld.Part0 = Head
	weld.Part1 = Neck
	weld.C0 = Head.CFrame:Inverse()
	weld.C1 = Neck.CFrame:Inverse()
	weld.Parent = script.Parent



end)

Most problems with welds occur when the part your trying to weld has mass, which messes up the games physics in a way you don’t want it to. You could try making the parts your trying to weld (not the parts of the character) massless by checking off the massless property of the part.