Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do I use CharacterAutoLoads?

I have a playable game and the script goes

game.Players.CharacterAutoLoads = false
local server = script.Parent

note: This isn't the full script and when I enter the game it gets stuck on the Character Loading box

1 comment

0

Please title your question appropreately. "Scripting Issue" doesn't tell us anything about your question.

1 answer

In order for that box to disappear, you have to load the Character at least once. After that, the box will never appear again.

If you want the player to remain character-less, simply Destroy the character immediately after spawning it.

game.Players.PlayerAdded:connect(function(player)
	player:LoadCharacter()
	Game.Debris:AddItem(player.Character, 0)
end)

2 comments

2

If you destroy the character too soon after loading it for the first time the player will receive the 'This game has shutdown' notification.

0

I've never had this error before, but that's good to know, thanks.

This discussion is preserved as it was. New answers, comments, and votes are closed.