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

How do I get the avatar's profile face to appear on an ImageLabel?

Asked by 7 years ago

I have a script here that shows the whole entire body of the avatar, but I just want the face of the avatar on the ImageLabel. It's possible. I saw it on a game before. Could someone help me out please?

game.Players.LocalPlayer.PlayerGui.StatusBar.Components.avatarPic.Image = "http://www.roblox.com/Thumbs/Avatar.ashx?x=420&y=420&username="..game.Players.LocalPlayer.Name

1 answer

Log in to vote
0
Answered by 7 years ago

Go into your decal of the face copy the Texture Go into your image label Paste the Texture into the Image slot in the Image Section (located at the bottom)

this would auto do it if you wanted a new one for each player

ImageLabel.Image = Player.Head.Decal.Texture

of course you would need to define Where ImageLabel is and where Player is but that all depends on where they are located in your game

0
Lol i dont want the face of the head xD TickTockTheory 106 — 7y
0
You want the face of their avatar... which would be located on thier head khanISawesomethe1st 0 — 7y
Ad

Answer this question