I'm trying to get a player's avatar to put into my game, and I'm really not sure how to get it. Everything I try doesn't work and I can only find how to get a user's image.
Ok so I literally just posted a question for this and made a script for this...so perfect timing. You can use Web APIs to get the players icon. http://wiki.roblox.com/index.php/Web_APIs
Not quite an exact copy of someone's avatar but close enough. You'll have to fine tune to get the exact replica. Read more about GetCharacterAppearanceAsync, ClearCharacterAppearance and LoadCharacterAppearance
local Players = game:GetService("Players") Players.PlayerAdded:Connect(function(Player) --Get their UserId from the website local userId = 205083914 local model = Players:GetCharacterAppearanceAsync(userId) --Remove what they are wearing(not everything unfortunately) Player:ClearCharacterAppearance() --Go through the model and load the appearance for _, child in pairs(model:GetChildren()) do Player:LoadCharacterAppearance(child) end end)