Wizertex
(Wizertex)
October 17, 2019, 4:25pm
#1
Hello, I am trying to get User Thumbnail just with userId, when a player, you want to have on gui, isn’t in your server.
Is this possible?
This would be really nice to have.
If you have additional time, can you send me whole line please? (I mean only a line where you use GetUserThumbnailAsync ).
Thank you!
From the developer hub:
local userId = player.UserId
local thumbType = Enum.ThumbnailType.HeadShot
local thumbSize = Enum.ThumbnailSize.Size420x420
local content, isReady = Players:GetUserThumbnailAsync(userId, thumbType, thumbSize)
3 Likes
Fm_Trick
(Trick)
October 17, 2019, 4:28pm
#3
GetUserThumbnailAsync takes the UserId, not the Player instance. You have answered your own question.
2 Likes
Wizertex
(Wizertex)
October 17, 2019, 4:38pm
#4
Oh I thought that “player” variable only searches for players that are in your server. Will try that. Thank you!