Im making a game that involves texting, kind of. How would I get the image file of the players pfp?
adding to @CZXPEK 's answer
you can use :GetUserThumbnailAsync to get the player’s thumbnail. the parameters are: UserId, ThumbnailType, ThumbnailSize
example:
Players:GetUserThumbnailAsync(1, Enum.ThumbnailType.HeadShot, Enum.ThumbnailSize.Size420x420)
this code will retrieve the user head thumbnail with a 420x420 resolution
2 Likes
I Recommend looking into the URL’s for The profile pictures, its much more efficient.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.