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

How Would I Correctly Load A Character's Appearance Onto An Image Label?

I made an image label that, with a local script, would replace the image label with the character appearance. I tried to make one, however, the code didn't break it just infinite yield on character appearance. Here's what I had in the code.

local Player = game:GetService('Players').LocalPlayer
local PlayerInt = script.Parent

PlayerInt:WaitForChild("Avatar").Image = "http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&username=" .. Player.Name

So, is there any other way to load the avatar appearance or not? Thanks.

2 answers

✓ Accepted answer

There are 2 ways to get the whole body image of a person. You can use either the one you have, "http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&username=" or you can use "http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&userId=" and input the user's ID instead. I use this in order to get any thumbnails I may need.

If I have helped answer your question, please mark my answer as correct, otherwise comment on how I could have done better to help you! :)

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