How to get a players picture/thumbnail in a client of other players

Yeah basically the server sends a list of player usernames to the client and i need the client to make them into pictures and set it up into a gui.

1 Like

In Players, you should find the GetUserThumbnailAsync (requires UserId, not usernames)

Players | Documentation - Roblox Creator Hub

there is parameter IsReady

2 Likes

yeah but surely because i could be calling up to 16 times at once from each client, this could just overload and not work as too many calls

All the function does is return an asset URI string based on your parameters so it should hopefully be fine to call it as many times as you want
If you dont want to call the function you could just print the function’s result in the command bar with the desired parameters and just replace the UserId value in the URI

example URI:
rbxthumb://type=AvatarHeadShot&id=1&w=420&h=420

That’s nothing

I’ve been able to easily call the thumbnails API 1,000 times in a minute

i ended up creating a manual url using the players user ids instead

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.