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

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

game.Players.PlayerAdded:Connect(function(Plr)
	Plr.CharacterAdded:Connect(function(Char)
		PlrClone = Plr.Character:Clone()
		print(PlrClone)
	end)
end)

5 comments

0

Players' characters have the archivable property set to false, so when they're cloned, it'll return nil

0

I turned the archivable property on, though it didn't copy my shirt, hats, and colors

0

yea, notice that if you dont have a humanoid on a character, there arent any shirts, accessories, or pants

0

would I have to add them on separately or is there a way around this?

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

1 answer

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