Is it possible to have multiple StarterCharacter using a script?

I am not sure if this is the correct category to post this on, but I need some help.
So I was wondering if a script could randomize some starter characters im a folder.

2 Likes

I personally would apply a humanoid description and that works

local Characters = {workspace.Character1,workspace.Character2}

game.Players.PlayerAdded:Connect(function(Player)
    Player.CharacterAdded:Connect(function(Character)
        Character:Destroy()
        Player.Character = nil
        wait(.3)
        local new = Characters[math.random(#Characters)]:Clone()
        new.Parent = workspace
        Player.Character = new
    end)
end)

Untested code, but what I’m doing is destroying and replacing the character.

3 Likes

The way you’re intending to use StarterCharacter is not the proper way to be using it. StarterCharacter is only intended for you to change the way that rigs are constructed by default. If you are planning anything that has to do with using multiple rigs, StarterCharacter isn’t what you want.

Please look into other solutions for changing how characters are constructed or clothed if you need some form of randomisation. It’s currently unclear what you want multiple rigs for. If it’s to change how the character’s built, assign the new model to their character. If it’s for the sake of appearance, manually construct it or make use of the HumanoidDescription system.

2 Likes

Your question is off topic. Please ask this over private messages or use the Report Abuse feature to report incidents with other players.

I cannot make this private. You can flag your own thread under “Something Else” and ask for it to be closed, but if there’s information to be derived out of it or it’s helpful to other users, it will not be hidden. That being said, you didn’t write this topic, so this isn’t applicable to you.

2 Likes