How to spawn custom character in round

I have a Skinned Mesh dinosaur. Each round selects one or more players who should become him (dinosaur). The character itself works fine if you rename it to StarterCharacter. But I don’t need everyone to become a dinosaur. Only certain people who were selected in the round
image

I think you can set the Player’s character property to the dinosaur character.

local oldCharacter = player.Character
local character -- define the dinosaur

character:PivotTo(oldCharacter.PrimaryPart.CFrame) -- set the new character position to the old character

player.Character = character -- set the player's character to the new character
character.Parent = workspace -- parent the new character to workspace