Inserting Body Parts to players

I’m trying to set the right arm of the character to be this item: Skeleton Right Arm - Roblox
At the moment when I run the script below with the id it runs correctly and spawns in the item it gets parented to the player, but it doesn’t weld to the player correctly and then after a few seconds it gets deleted for some reason. I have done this with hats and other things and they have automatically welded properly to the player.

game.ReplicatedStorage.InsertItem.OnServerEvent:Connect(function(player, text)
	local id = text
	local char = player.Character
	local item = game:GetService("InsertService"):LoadAsset(id)
	item.Name = ""
	local name = player.Name
	item.Parent = game.Workspace.Heads
	local part = game.Workspace.Heads[id]:GetChildren()
	if part[1]:IsA("Folder") then
		local parts = part[1].Parent.R15Fixed:GetChildren()
		for i, child in pairs(parts) do
			if child.Name == "RightHand" or child.Name == "RightUpperArm" or child.Name == "RightLowerArm" then
				parts[i].Parent = char

Any help is appreciated! :slight_smile:
Side question, how might I replace the torso and head of the player without killing them, you don’t have to answer this.

you need to insert a weld for the parts to actually weld. Preferably, use the Motor6Ds already in the player’s limbs and just re-parent it to the new limbs, and adjust the Part0/Part1

The easiest way to change accessories, body parts, etc, is using HumanoidDescription.

Your use case is listed under the Change an Existing Character’s Assets section.


You dont really need to make a script

Go to home then game settings
then there go to avatar put the arm id in.

1 Like