Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do I set a image UI to a player's face?

I know how to operate and change the image in an ImageLabel, however what are the in-built functions to access a player's character's image/face.

1 answer

There are no in built functions, I believe, but you can set them like this:

local fullimage = "http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&username=" ..PlayerName

local headshot = "http://www.roblox.com/headshot-thumbnail/json?userId=" ..UserId.. "&width=180&height=180"

2 comments

0

How can I get a player's ID from their name?

0

game.Players:GetUserIdFromNameAsync(PlayerName)

This discussion is preserved as it was. New answers, comments, and votes are closed.