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

How to get the player's face image?

I'm creating a kind of menu to list all of the players from a specific group that are in the game and to put their faces (and names next to them) on a scrolling surface GUI.

How would I get the player's face image like the one shown when you click the servers tab on a game? (Example)

Thanks in advance!

1 answer

Use something like this:

local imageLabel = --Put your image label here
local player = game.Players.LocalPlayer

imageLabel.Image = 'http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&username=' .. player.Name

1 comment

0

No, that's the picture of the entire character, I'm after only the head

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