This is what I have so far, it Just gets the players image and puts it on the image label, now what I wanted to do is zoom in on the players face area so it only shows that instead of the entire character how would I do that?
local Player = game:service('Players').LocalPlayer local characterImageFormat='http://www.roblox.com/Thumbs/Avatar.ashx?x=352&y=352&format=png&userid=%d'; while wait(1) do script.Parent.Image = characterImageFormat:format(Player.userId); end
Do this, this basically shows the version on the profile where you can only see the head.
local Player = game:service('Players').LocalPlayer local characterImageFormat='https://www.roblox.com/headshot-thumbnail/image?userId=%d&width=420&height=420&format=png'; while wait(1) do script.Parent.Image = characterImageFormat:format(Player.userId); end
If the image says "N/A", try loading the game again, and it will load in.
Try this, this is what I do. Adjust that x & y for how zoomed in you want. :)
local Player = game.Players.LocalPlayer local Character = Player.Character local Avatarurl = "http://www.roblox.com/Thumbs/Avatar.ashx?x=500&y=500&Format=Png&username=" local Avatar = script.Parent Avatar.Image = Avatarurl..Player.Name