Player Image on SurfaceGui

Hey! I would like to know if it is possible for the player’s image to be seen in a surfacegui, it is something simple but it would help me a lot. Help would be appreciated :slight_smile:

1 Like

A special function can do that:

game.Players:GetUserThumbnailAsync(player.UserId,Enum.ThumbnailType, Enum.ThumbnailSize)
2 Likes

it’s actually possible, here you have this script as an example (inside a part), and using a decal:

local decal = script.Parent.Decal

decal.Texture = "http://www.roblox.com/Thumbs/Avatar.ashxx=420&y=420&username=USERNAME"

make sure to change the last part of the link to the username of the player :slight_smile:

1 Like

Great but how would I make it look correctly in the surfacegui?

Good! but that will only make an image of a specific player be seen, what I wanted was for the image of each player to be seen