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

What method would I use to get a user's thumbnail image?

Asked by
Spooce 78
9 years ago

I want to display a user's character and I need to know how to collect that data.

0
Every Player has a Property named 'CharacterAppearance' that which loads a Player's Character's appearance 'Profile' into the 3D service, the Workspace [Physically]. TheeDeathCaster 2368 — 9y

1 answer

Log in to vote
0
Answered by
RubenKan 3615 Moderation Voter Administrator Community Moderator
9 years ago

Your question is not very easy to understand, do you want to get the image of a players character? if so, Use this, inside a local script.

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




if game.Players.LocalPlayer.Name:sub(1,6) == "Guest " then  --GUESTS (so it doesnt turn out in an X)
script.Parent.Image = "http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&username=ROBLOX"
end

Ad

Answer this question