So I made a folder full with 3 characters I made and I want it to make so I spawn with one of them and it doesn't work.
please help! thanks.
Please insert the model inside StarterPlayer
and not in StarterCharacterScripts
nor StarterPlayerScripts
. I believe you can only insert 1 model. Also note that insert the model and not the folder. Reply back if this doesn't work.
ServerScriptStorage
- Script
local CharacterModel = game.Workspace.FolderName local function chooseCharacter() local chosen = math.random(1, #CharacterModel:GetChildren()) return chosen end local chosenCharacter = chooseCharacter() local cloneCharacter = CharacterModel[chosenCharacter]:Clone() cloneCharacter.Parent = game.StarterPlayer
Closed as Not Constructive by matiss112233, Pupppy44, and Leamir
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?