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

How would I make a the user's image show on a ScreenGui?

Asked by 6 years ago

I have a Gui with an Image Label inside of it, I want the ImageLabel to change to the User's picture (ie: if you join, I want it to be a picture of your avatar) - how would this be possible? I've currently tried this;

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

1 answer

Log in to vote
0
Answered by
farrizbb 465 Moderation Voter
6 years ago
Edited 6 years ago

You'd set the image to just

"https://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&username=" you don't need to do ..game.Players.LocalPlayer.Name.
0
Thanks - it worked. IkerElite 0 — 6y
0
Could you accept my answer if it worked thanks. farrizbb 465 — 6y
Ad

Answer this question