Loading profile thumbnail

Ok so I have this code that shows the users full body on a gui, how do I get it to show just their face like the one on their profile? I think it would be a different keyword other than AvatarThumbnail.

local Player = game.Players.LocalPlayer
local userid = Player.UserId
local image = game.Players:GetUserThumbnailAsync(userid, Enum.ThumbnailType.AvatarThumbnail, Enum.ThumbnailSize.Size420x420)
script.Parent.Image = image

You’re right.

Instead of :
Enum.ThumbnailType.AvatarThumbnail

it would be:
Enum.ThumbnailType.HeadShot

Finalized Script:

local Players =  game:GetService("Players")
local Player = Players.LocalPlayer
local userid = Player.UserId
local image = Players:GetUserThumbnailAsync(userid, Enum.ThumbnailType.HeadShot, Enum.ThumbnailSize.Size420x420)
script.Parent.Image = image

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.