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

How do I use CharacterAutoLoads?

Asked by
Silicti 40
10 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. User#2 0 — 10y

1 answer

Log in to vote
0
Answered by
adark 5487 Badge of Merit Moderation Voter Community Moderator
10 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 673 — 10y
0
I've never had this error before, but that's good to know, thanks. adark 5487 — 10y
Ad

Answer this question