"CharacterAdded is not a valid member of Players?"
How do i make a NPC look like a player ingame. I've done a ton of searching and seem to not get the answer. I'm trying to make it animated too at the same time.
Example: https://prnt.sc/kld0zl (a photo shows that a player is next to a model that looks just like them but without a hat.)
script:
game.Players.CharacterAdded.RBXScriptSignal:Connect():Connect(function(plr)
local cchar = plr.Character:Clone()
cchar:MoveTo(game.Workspace.charspawn.Position)
cchar.HumanoidRootPart.Anchored = true
end)
Error: CharacterAdded is not a valid member of Players