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

Player Profile/Name Displayed On A Surface Gui?

Asked by
Split_s 21
1 year ago

So i want to display the player's avatar/name on a part which has a surface gui and an image label/text label but i am do not know how i can do it, i would appreciate any information that would help me, thank you

Image

1 answer

Log in to vote
0
Answered by 1 year ago
Edited 1 year ago

I am assuming you want every player see themselves on that surface Gui right? or you want to display certain player on it? nevertheless here are some sources that could help

https://developer.roblox.com/en-us/api-reference/function/Players/GetUserThumbnailAsync

With this you can get player's avatar's picture and replace image with this

you can get player and then player name and replace text with it.

Hope this will help at least a bit, if you have any questions feel free to ask me, I am not professional either but I will help with all I can

if you want to replace it with player that recently joined then add script there and use playeradded

if you want certain player then its even easier, you can just replace image and text

Ad

Answer this question