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

How do I clone a player when they join?

2 answers

game.Players.PlayerAdded:connect(function(plr)
    plr.CharacterAdded:connect(function(chr)
    chr.Archivable = true --Make character "clonable"
    local clone = chr:clone() -- Clone Character
    clone.Parent = game.Workspace -- character parent    
    chr.Archivable = false --Make "unconable" again (optional)
  end)
end)

I hope this works

You can do this

game.Player.PlayerAdded:Connect(function(plr) --plr joins
	repeat wait() until plr.Character --wait for the plr's character to load in
	local ClonedCharacter = plr.Character:Clone() - Get a clone of the plr's character
end)

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