Supposedly simple, just duplicate the model of a player who enters. Need some help with the script, basically. I get no errors, I've checked through the script multiple times and after experimenting with it this is the final product before I gave up. I need some help, what did I do wrong? Is there an easier way to do this? Thank you.
function cloneman()
wait(3)
local plr = game.Workspace:GetChildren()
for i = 1, #plr do
local plradd= plr[i]
if (plradd.className == "Model") and (plradd.Name == "Player") then
local plr2 = plradd:Clone()
plr2.Parent = game.Workspace
end
end
end

3 comments
So how would this work? Identify the color of torso, legs, and arms, find the image, hats? Seems like a lot of work just to clone.
Or you can set the Archivable property to true..?
Or that, sorry. Forgot to mention that the Archivable property can be adjusted. Yes, you can clone characters if the model's Archivable property is set to true.