~I'm working on making a screen gui with a player's game profile on it, and wanted it to show an image of the player. I've seen a lot of games that do this with leaderboards and such, so I was wondering: how do they copy the player's model onto a screen gui? What scripts or functions do they use?
Try this link. It has apis to get a users thumbnail, and different views on them such as a headshot or full body. Change an imagelabel to the image the api provides, and it should represent the user.
I did something like this, except I used the image of the profile for the character.
Forgot about it though.
sample.Image = "https://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&userId=" .. game:GetService('Players').LocalPlayer.UserId;