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

What's another way to get a character's image on a GUI?

Asked by 8 years ago
function GS.getImage(name)
    local proxy = "http://rproxy.pw"
    return "http://www.roblox.com/Thumbs/Avatar.ashx?username="..name
end

That's what I have right now but whenever I use that link, the player's image always turns out pixelated and blurry. I've read the APIs on different valid thumbnail sizes and /Thumbs/RawAsset.ashx does not display an image at all. Is there a way to fix this?

The Imagelabel's size is {0,250} {0,250} (if that's important)

Thanks in advance!

2 answers

Log in to vote
0
Answered by 8 years ago

In the Image ID, you would put this:

http://www.roblox.com/Thumbs/Avatar.ashx?x=200&y=200&Format=Png&username=devotional

(put the username of player you want where I put devotional)

0
I want the image to be automatic, I can't manually put in every person's username. Devotional 210 — 8y
Ad
Log in to vote
-2
Answered by
duckyo01 120
8 years ago

Try GetPlayerFromId()

Answer this question