How to get a profile picture off roblox

Does anyone know of a way to get a users profile picture off roblox? Like an API or another way of getting like the profile picture. The old way does not work anymore so I don’t know were to get it from.

Hi, That’s very easy to do i’ll give you a code

local player = game.Players.LocalPlayer

local userId = player.UserId
local thumbType = Enum.ThumbnailType.HeadShot
local thumbSize = Enum.ThumbnailSize.Size420x420
local content, isReady = Players:GetUserThumbnailAsync(userId, thumbType, thumbSize)
-- After that make the Image equal to the Content.
YourImageLabel.Image = content
1 Like

I meant off roblox like not in a roblox game just off roblox. (Like it still can use roblox for the request)

Oh, Well then I don’t know Sorry.

2 Likes

If you’re using an API you can use the following:
https://thumbnails.roblox.com/docs#!/Avatar/get_v1_users_avatar_headshot

Explore this page and you’ll find the one you need. These all return a JSON field with a URL to access the image. Here’s an example with my avatar:

https://thumbnails.roblox.com/v1/users/avatar-headshot?userIds=34660101&size=48x48&format=Png&isCircular=false

If your goal is manually on the website, go to their profile, right click on the headshot, then “copy image address” or something similar

1 Like