Getting a players profile picture

Howdy! How do I get a players profile picture from their profile? Since I am using a localscript, I could do this through the script.

Screenshot 2022-12-30 152339


You would use GetUserThumbnailAsync

local Player = game.Players.LocalPlayer

local ImageSize = Enum.ThumbnailSize.Size420x420 -- Thumbnail Size
local ImageType = Enum.ThumbnailType.HeadShot -- Thumbnail Type

local content = game.Players:GetUserThumbnailAsync(Player.UserId, ImageType, ImageSize) -- Gets Image from UserId

ImageLabel.Image = content -- Inserts Image
1 Like

Mind explaining to me how to do this? I am not sure how to use player stats (beside username)


1 Like

Ohhhh. I see. And I would just copy paste this into my script?

You can copy it, I’m just covering the steps on what to do.

However look at @mroaan’s Post

1 Like

I appreciate it. I’ll see if it works!

Yep! That works! Thank you so much for the help!

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