Importing avatars via script

I’m trying to find a way to import a players avatar from a user’s ID. I’ve scanned the web for a couple of hours and can’t find anything about importing avatars via script, not plug in. I tried doing this by decorating a dummy with a player’s clothes, but I’m not quite sure how accessories work on Roblox. There appears to be a lot of different types of accessories such as HairAccessory, BackAccessory, FaceAccessory, etc.

To get the list of accessories for the player, I am using the game.Players:GetCharacterAppearanceInfoAsync() function. How can I import a players avatar from user ID via script?

Google this


Generally look into Humanoid Description, it is exactly what you need