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.
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.
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.
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.