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.
GetUserThumbnailAsync fetches a
Articles/Content|content URL of an image of a player’s avatar given their
Player/UserId|UserId, the image size (as an enum) and type (also an enum: avatar, bust, headshot). It also returns a bool describing if the image is ready to be used.
Most often, this method is used with
ImageLabel/Image to display player pictures next to their username in-game. It is also appropriate for
Decal/Texture as well.
Types of User Thumbnails
|Upper chest and head|
|Just the head and face|
The userId of the player being specified.