Hello, thank you for anybody who can help me. I’m trying to make a board that displays everything about somebody, this is suppose to be a test for me to understand the values of, for example, display names, accountages, etc.
When I make a ImageLabel and insert a code in it (I’ll link it at the end.) it doesn’t seem to want to load, I have tried everything and there’s no errors in Console for some reason. Here’s what happens.
Here’s what I put inside the Local Script inside the Image Label:
You should use :GetUserThumbnailAsync() to achieve this.
local plr = game.Players.LocalPlayer
local userID = plr.UserId
local thumType = Enum.Thumbnail.Type.AvatarBust -- Change it to what type you want
local thumSize = Enum.ThumbnailSize.Size420x420 -- Change it to what size you want
local content = game.Players:GetUserThumbnailAsync(userId, thumbType, thumbSize)
script.Parent.Image = content
Basically, put your SurfaceGUI inside StarterGUI, then go to your surfaceGUI’s properties, click on adornee, then click on the part you want it to appear on. After that, put the script I sent in your surfaceGUI.
local plr = game.Players.LocalPlayer
local userID = plr.UserId
local thumType = Enum.ThumbnailType.AvatarBust -- Change it to what type you want
local thumSize = Enum.ThumbnailSize.Size420x420 -- Change it to what size you want
local content = game.Players:GetUserThumbnailAsync(userID, thumType, thumSize)
script.Parent.Image = content