while wait(3) do
local player = game.Players.LocalPlayer
script.Parent.Player.Image = "http://www.roblox.com/thumbs/avatar.ashx?x=352&y=352&format=png&username=" ..player.Name
end
COMMUNITY QUESTION
How do i get pplayer icon instead of whole body?
1 answer
Change the endpoint, so line 3 would be
script.Parent.Player.Image ="https://www.roblox.com/headshot-thumbnail/image?userId="..Userid.."&width=420&height=420&format=png"
Sorry if this doesn't work. New Scripter
Find more endpoints at http://wiki.roblox.com/index.php?title=Web_APIs
This discussion is preserved as it was. New answers, comments, and votes are closed.
