I read on the wiki that if you want individual players to have different StarterCharacters, you'd need to create a custom character loading system. How do I do this?
You need a custom character named StarterCharacter. Parent StarterCharacter to StarterPlayer.
I am assuming what you need to do is the following:
go to Players and set the CharacterAutoLoads to false
local RespawnTime = 2
game.Players.PlayerAdded:Connect(function(Player) -- PlayerAdded event Player:LoadCharacter () -- in this case, we have to load the character because CharacterAutoLoads property is set to false.
Player.CharacterAdded:Connect(function(Character) -- Once the character is added we will run this function local Humanoid = Character:WaitForChild("Humanoid") Humanoid.Died:Connect(function() wait(RespawnTime) -- time until next respawn Player:LoadCharacter() -- add their character again end) end)
end)
Closed as Not Constructive by lukeb50, whenallthepigsfly, User#20388, and Programical
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?