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

How to make a character load?

Asked by 9 years ago

I made a Loading GUI but I forgot how to load a character like when you have CharacterAutoLoads disabled you can manually do it I forgot the event.. Is it something like the following?

wait(5)
game.Players.LocalPlayer:LoadCharacter

-- I forgot ;-;
0
LoadCharacter is handled server side so it must be used in a script. http://wiki.roblox.com/index.php?title=LoadCharacter BosswalrusTheCoder 88 — 9y

1 answer

Log in to vote
0
Answered by
MunimR 125
9 years ago

Okay the problem you are probably have is that when the player joins the character isn't loaded.

So to fix this you need to have an event on the [PlayerAdded](http://wiki.roblox.com/index.php?title=API:Class/Players/PlayerAdded and then LoadCharacter the Player

game:GetService'Players'.PlayerAdded:connect(function(Player)
    Player:LoadCharacter()
    -- Whatever you want to do after that to manager respawning
end)

Hope this helps :)

Ad

Answer this question