How do you clone somebody's character? I've seen multiple people do it but whenever I try it doesn't work.
You must enable the Archivable property of the object in order to be able to clone the object.
function cloneCharacter(character) character.Archivable = true local fake = character:clone() character.Archivable = false return fake end local blowup999_clone = cloneCharacter(game.Players.blowup999.Character) blowup999_clone.Parent = workspace blowup999_clone:MoveTo(Vector3.new(0, 5, 0))
If you are wanting to clone the character, first you need to make the Archivable
property true.
local pl = game.Players['YourName']; --Change "YourName" to your Player's name if pl and pl.Character then local c = pl.Character; c.Archivable = true; local clone = c:Clone(); clone.Parent = Workspace; clone:MoveTo(Vector3.new(0,0,0)); end
This would clone the player's character, parent the clone to workspace, and move it to 0,0,0. You can change this as needed.
Also, if you did not already know..
To clone things in Lua, you would want to add ":Clone()" at the end of the Part/Model you lead a path too.
Keep in mind, you might want to assign the clone to a variable so that you can refer to it again.
Depends Here are a few ways, If you like Kohl's Admin just simply say :Clone me But if you want to make it a model that will save you can make it into a model I suggest in case you don't know here is how: 1. Find your character in Worspace. 2.Click on it. 3. Click on the file choice at your top left of Roblox Studio. 4. Click the button that says "Publish Section to Roblox" It'll guide you from there.
If you don't need to re-use it or any noob taking it, do this. 1. Find character in Workspace. 2.Click copy 3. I think you know the rest. -Thank you, LUA master Yob67.