Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by 6 years ago
Edited 6 years ago

~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

Log in to vote
0
Answered by
H4X0MSYT 536 Moderation Voter
6 years ago

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.

Ad
Log in to vote
0
Answered by 6 years ago

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;
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? EnderGamer358 79 — 6y
0
yea the link uses userid MariusCorpelius 0 — 6y

Answer this question