Does player:LoadCharacter() wait for the client or the server to load the character?
depends if it’s a local or server script
The LoadCharacter function loads a character for a player and returns a Character object representing the loaded character.
The LoadCharacter function can be called on the server, and it will load the character on the side on the server. It will not work on the client.
Here is an example of how you can use the LoadCharacter function:
local player = game.Players:GetPlayerByUserId(164047141)
local character = player:LoadCharacter()
The LoadCharacter function will block the script until the character is fully loaded, and will not work on the client.
2 Likes
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.