Player icon isue

so I’m working on a player list for an admin panel but I came across something odd when I try to load up the player icon

local function AddPlayerToList(Player)	
	local Copy = Copy:Clone()
	local content, bool = game.Players:GetUserThumbnailAsync(Player.UserId, Enum.ThumbnailType.HeadShot, Enum.ThumbnailSize.Size150x150);
	Copy.PFP.Image = content
	Copy.User.Text = Player.Name
	Copy.Name = Player.Name
	Copy.Parent = script.Parent
end

this is how I add the player to the list
Screenshot_3
and this is what I get… is there a way to make it so all the icons to be HeadShot and not like the second one

You don’t need to type two variables and its quite complicated

You can type like:

local image

image.Image = game.Players:GetUserThumbnailAsync(plr.UserId,Enum.ThumbnailType.HeadShot,Enum.ThumbnailSize.SIze100x100

The first argument is the player whose image is needed user id, second is thumb nail type and third is size of image

And in the developer forms roblox, its two variables I know but its a bit complicated to understand try using the script above

1 Like

i have try what you said and i came to the same isue the icon are like i show befor

1 Like

Some users may not have the same headshot. Some just have a head and shoulders. Some reveal their arms and some even have a 2015 headshot

2 Likes