Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

What script would I use to copy a player's model onto a screen gui?

~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?

2 answers

✓ Accepted answer

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;

2 comments

0

Yeah I used a script sort of like that except I based it off of their username, but I should I do it on the UserId instead?

0

yea the link uses userid

This discussion is preserved as it was. New answers, comments, and votes are closed.