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

How to make an ImageLabel show the local player's avatar?

I have a brick that has a SurfaceGui with an ImageLabel child..

How can I make the ImageLabel show the local player's avatar?

5 comments

0

I already answered it, why you asking again?

0

Honestly, I haven't the slightest idea what to do..

1

First, learn about surface guis. Also, this thread will be helpful: http://www.roblox.com/Forum/ShowPost.aspx?PostID=111095643

0

Ah, thank you. Also.. why was my question thumbs down? That seems inconsiderate.

0

You shouldn't ask it twice.

1 answer

Here: http://wiki.roblox.com/index.php?title=Content#rbxhttp Just put the name of the player there.

[EDIT]

To make it assign the local player, put this in a local script:

player = game.Players.LocalPlayer
ImageLabel.Image = "http://www.roblox.com/Thumbs/Avatar.ashx?x=420&y=420&username=" .. player.Name

http://wiki.roblox.com/index.php?title=String#Combining_strings

2 comments

0

That worked, but how would I make the ImageLabel show the local player's avatar?

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