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

How do I use playerthumbnailasync on my imagelabel?

Asked by 5 years ago
Edited 5 years ago

I don't get what to do like how to even access playerthumbnailasync and slice it to get it on my iamgelabel when any player joins and cut it with a headshot I know headshot is a built in function inside playerthumbnailasync but i don't know how to access it

1
Why don't you watch a video?! Is it too hard? Coding needs patience, no patience, no coding. You can't just get spoon fed. mixgingengerina10 223 — 5y
0
There is none lmao User#22788 5 — 5y

1 answer

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

I am assuming that you want the picture of a player

local P = game.Players.LocalPlayer

script.parent.Image = "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=150&Format=Png&username="..P.Name

make sure this is a localscript and is a child of the image you want.

Ad

Answer this question