Get GUI in tool to display holder's avatar thumbnail

Good evening all,

I am creating a police-style ID badge, which automatically fills in the equipped user’s Username and Group Rank. However, I am having trouble figuring out how to display the equipped user’s thumbnail. Most tutorials I am finding online are for simple GUIs that show the player their own photo, which as you imagine, wouldn’t be very helpful on an identification card :wink:

The current nomenclature is: (within the tool)

Part > SurfaceGui > Image > Script

any help appreciated, thanks in advance!

you just need an image label

local Players = game:GetService("Players")
local player = Players.LocalPlayer

local thumbnail = Players:GetUserThumbnailAsync(player.UserId, Enum.ThumbnailType.HeadShot, Enum.ThumbnailSize.Size180x180)

yourImageLabel.Image = thumbnail