Getting player thumbnail

Seacrhing for any api like “https://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=150&Format=Png&username=” because it was deprecated.

3 Likes

Use game.Players:GetUserThumbnailAsync(Userid, ThumbnailType, ThumbnailSize)

You can check more on devhub.

1 Like

Hey there in my recent video on making a gui typewriter effect I also show how to display player thumbnails, it at the end of the video if you want to check that out.

"https://www.roblox.com/headshot-thumbnail/image?userId=".. UserId .."&width=420&height=420&format=png"

But I prefer using Players:GetUserThumbnailAsync().

4 Likes

Thx and i’m using this in my discord bot.

1 Like