-
I am making a game where in the first part of the game the player is being interrogated. As a small detail in the game, i wanted to add a poster with the player’s avatar.
-
I’ve looked at a lot of posts on the devforum but haven’t found an answer to this question.
-
I have tryed this but and made something wrong.
local Players = game:GetService(“Players”)
local Player = Players.LocalPlayer
local Usern = script.Parent.username
local ID = Players:GetUserIdFromNameAsync(Player.UserId)
Usern.Value = ID
local content = game.Players:GetUserThumbnailAsync(script.UserID.Value, Enum.ThumbnailType.AvatarBust, Enum.ThumbnailSize.Size150x150);
script.Parent.Texture = content