This is a yielding function. When called, it will pause the Lua thread that called the function until a result is ready to be returned, without interrupting other scripts.
This member cannot be used in scripts, but is usable in the command bar.
Player function is similar to
Player/LoadCharacter, but the request is processed synchronously instead of asynchronously.
This means that no other task will be able to continue until after the character has been loaded, including the rendering of the game and any other tasks.
Like LoadCharacter, this function creates a new character for the player, removing the old one. It also clears the player’s
PlayerGui. This is useful in cases where you want to reload the character without killing the player, such as when you want to load a new character appearance after changing the player’s
- This function is used by Roblox’s backend server when rendering avatar thumbnails.
This example demonstrates the
First, the script changes the local player’s appearance by changing the
Player/CharacterAppearance property to the userId 772462. Then, the script fires the LoadCharacterBlocking function to reload the player’s character with the new appearance.
- This function cannot be used in scripts, but is usable in the command bar. As such, this example will only work as expected when fired from the command bar.
- Since this function executes asynchronously, the script will not continue execution until the function finishes.