Problem with Skinned Mesh tools system

Trying to make a tools system for my Skinned Mesh Character

local Player = game.Players.LocalPlayer
local char = Player.Character or Player.CharacterAdded:Wait()
		char.ChildAdded:Connect(function(child)
			if child:IsA("Tool") then
				local Tool = child
		local Hand = char:FindFirstChild("Rig")["mixamorig:Hips"]["mixamorig:Spine"]["mixamorig:Spine1"]["mixamorig:RightShoulder"]["mixamorig:RightArm"]["mixamorig:RightForeArm"]["mixamorig:RightHand"]
				local weld = Tool:FindFirstChild("Main"):FindFirstChild("Weld") --This is a rigidconstrain
				local Handle = Tool:FindFirstChild("Main"):FindFirstChild("Handle") --This is an Attachment
				Tool.Equipped:Connect(function(Run)
					weld.Attachment0 = Handle
					weld.Attachment1 = Hand
				end)
			end		
		end)



But it gives me that mixamorig:RightShoulder is not a valid member of Bone

1 Like