Ad
Still have questions? Join our Discord server and get real time help.
Log in to vote
1

How do I use CharacterAutoLoads?

Asked by
Silicti 40
6 years ago

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

0
Please title your question appropreately. "Scripting Issue" doesn't tell us anything about your question. Everesty 1016 — 6y

1 answer

Log in to vote
0
Answered by
adark 5461 Badge of Merit Moderation Voter Community Moderator
6 years ago

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
If you destroy the character too soon after loading it for the first time the player will receive the 'This game has shutdown' notification. TheGuyWithAShortName 657 — 6y
0
I've never had this error before, but that's good to know, thanks. adark 5461 — 6y
Ad

Answer this question