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

Does anyone know how to add a picture of that player?

Asked by 5 years ago
Edited 5 years ago

I know this is against the rules since am not asking about scripting, but can someone help me?

0
no one knows how sorry this question is too complex retracee 68 — 5y
0
there's a link actually Is_Hunter 152 — 5y
0
A link to? thefatrat87 18 — 5y
0
idk where i can find it now but i used to copy it from the PRG kit in roblox it's found in the guis Is_Hunter 152 — 5y
View all comments (2 more)
0
We are not a substitute for your brain! ChasingNachos 133 — 5y
0
Are you seriously going through everyone's history and try and comment weird stuff? Then go home kiddo. thefatrat87 18 — 5y

2 answers

Log in to vote
1
Answered by 5 years ago
Edited 5 years ago

http://robloxdev.com/articles/Web-APIs

There, all the API's are there.

Just do like

Eg: https://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&username=Roblox

script.Parent.ImageLabel.Image = https://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&username=pedroquitas1
0
But I want it to change according to the player, like bloxburg thefatrat87 18 — 5y
0
get username of the player then put it in username= xxXTimeXxx 101 — 5y
0
Ye AvionicScript 65 — 5y
0
There are a ton of API's. Just change the username or UserId according to what is required. AvionicScript 65 — 5y
Ad
Log in to vote
0
Answered by 5 years ago

Like pedroquitas1 said, use 'https://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&username='

like this

local plr = game.Players.LocalPlayer
local fr = script.Parent
fr.Image = "https://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&username="..plr.Name
0
(you can accept his answer lol) User#20388 0 — 5y
0
Thank both of you thefatrat87 18 — 5y
0
1 problem... It doesnt load the image or it just turns transparent for no reason? thefatrat87 18 — 5y
0
Try it in the real game, not in studio User#20388 0 — 5y
View all comments (6 more)
0
Still not there :C thefatrat87 18 — 5y
0
Show the script. AvionicScript 65 — 5y
0
local plr = game.Players.LocalPlayer local fr = script.Parent fr.Image = "https://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&username="..plr.Name thefatrat87 18 — 5y
0
is script.Parent your image? User#20388 0 — 5y
0
is script.parent the ImageLabel/Button or the parent of the image label/button? AvionicScript 65 — 5y
0
Now it works! Thanks. thefatrat87 18 — 5y

Answer this question