Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

I am trying to duplicate the player, though the script I wrote prints "nil", any help?

Asked by 6 years ago
game.Players.PlayerAdded:Connect(function(Plr)
    Plr.CharacterAdded:Connect(function(Char)
        PlrClone = Plr.Character:Clone()
        print(PlrClone)
    end)
end)
0
Players' characters have the archivable property set to false, so when they're cloned, it'll return nil Rare_tendo 3000 — 6y
0
I turned the archivable property on, though it didn't copy my shirt, hats, and colors PoweredBy_Memes 2 — 6y
0
yea, notice that if you dont have a humanoid on a character, there arent any shirts, accessories, or pants theking48989987 2147 — 6y
0
would I have to add them on separately or is there a way around this? PoweredBy_Memes 2 — 6y
0
Instead of player.CharacterAdded use a wait and to make the clone animated remove roblox's animate localscript from the clone and make it a serverscript that's inserted into the clone ShadyShock 77 — 6y

1 answer

Log in to vote
0
Answered by 6 years ago
Edited 6 years ago

This works: you can make it better (It creates an animated clone of the character with clothes and accessories)

https://www.roblox.com/library/2393507307/for-poweredby-memes

Ad

Answer this question