Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do you make AvatarApperanceOverride at random with 3 StarterCharacters?

Asked by 6 years ago

So i am trying to make the AAO random. Do i need a script?

I put the Character i wanted and named it StarterCharacter.

Then i did it 2 other times with other characters.

I put them all in the SP folder. I want to make it random. Help?

P.S: AAO means AvatarApperanceOverride (the one that makes it when you join you have a certain avatar) and SP means StarterPlayer.

1 answer

Log in to vote
0
Answered by 6 years ago
local starterChars = {StarterCharacter1, StarterCharacter2, StarterCharacter3 -- Put in location of your models

for i = 1, #starterChars do
    starterChars[math.random(1, #starterChars)] -- do code
end
0
I changed the code a little bit, but i cant seem to find why the end is a error sonicnoel 0 — 6y
Ad

Answer this question