Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Why will the part not clone?

game.Players.PlayerAdded:Connect(function(plr)
	game.Workspace.part:Clone()
    local char = game.Workspace:WaitForChild(plr.Name)
    local Weld = Instance.new("Weld")
    Weld.Part0 = char["Right Arm"]
    Weld.Part1 = game.Workspace.part 
    Weld.Parent = game.Workspace.part
end)

it won't clone.

1 answer

✓ Accepted answer

so put the part in server storage and change the code to this

game.Players.PlayerAdded:Connect(function(plr)
	local clonepart = game.ServerStorage.Part:Clone()
	clonepart.Parent = game.Workspace
    local char = game.Workspace:WaitForChild(plr.Name)
    local Weld = Instance.new("Weld")
    Weld.Part0 = char.RightHand
    Weld.Part1 = clonepart
    Weld.Parent = clonepart
end)

This discussion is preserved as it was. New answers, comments, and votes are closed.