I need to duplicate a specific character with a server script but when I use clone and chose parent it says attempt to index nil with 'Parent' how would this be done?
COMMUNITY QUESTION
How to duplicate character with a server script?
2 answers
You need to first say:
local Character = --Define the character
Character.Archivable = true --Makes you able to clone it.
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 discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
If it helped U then accept my question please