Problem with StarterCharacter: randomization

I did that! It now gievs me the new error: PrimaryPart is not a valid property name.

1 Like

Bumping post!

1 Like

Uhm, try

Character.PrimaryPart.CFrame = character:WaitForChild("HumanoidRootPart").CFrame

and remove

character:GetPropertyChangedSignal("PrimaryPart"):Wait()
1 Like

image
Practically, it works. But it shows me but replaces my character w/o animations into startercharacter. With it’s name “StarterCharacter”.

1 Like

Try parenting to workspace after settings plr.Character

1 Like

can’t set character to workspace, only models or parts allowed

1 Like

Don’t set the character to workspace set the parent of the morph after you set the plr.Character to the morph.

1 Like

Also, the rng system at all doesn’t work. It only picks 1 of 3 characters every time

1 Like

What? I’m so confused right now.

1 Like
game.Players.PlayerAdded:connect(function(plr)
	local character = plr.CharacterAdded:Wait()
	
	local Character = game:GetService("ReplicatedStorage").Players:GetChildren()[math.random(1,3)]:Clone()
	Character.PrimaryPart.CFrame = character:WaitForChild("HumanoidRootPart").CFrame
plr.Character = Character

	Character.Parent = workspace
end)
1 Like

Problems remaining: Shows my original avatar and username as a player.
No animations.

1 Like

1 Like

I control the red player, but my original character is just standing there.

1 Like

I want it to be gone, lol.

1 Like

Just delete the original character before updating the character.

Character:Destroy()
1 Like