Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Is there a way I can display the user's Avatar / clothes on the GUI?

Asked by 4 years ago

Take the first image on this page for example: https://www.player.one/overwatch-march-12-update-patch-notes-players-share-replays-133698

In the bottom left, you can see an icon that represents the player's character (Tracer from Overwatch). This icon changes depending on the outfit selected by the user. I would like to do something similar where the user's icon would display whatever their Roblox avatar looks like.

So my question is how can I reproduce something similar on Roblox where what the Avatar looks like is reflected on their player icon in the GUI?

1 answer

Log in to vote
0
Answered by
exobyteXL 290 Moderation Voter
4 years ago
Edited 4 years ago
Image.Image = game.Players:GetUserThumbnailAsync(Player.UserId,Enum.ThumbnailType.HeadShot,Enum.ThumbnailSize.Size420x420)

There was another way to do it, but I forgot. When I get the link to the page, I'll post it here.

GetUserThumbnailAsync Page

EDIT: I'm pretty sure this needs to be run on the server.

0
Thank you! Exactly what I was looking for Hycheese 34 — 4y
Ad

Answer this question