How to load in an avatar in-game

Hi guys, I’m pretty stuck. I have an NPC that I want to be able to change into another avatar (say for instance a certain player’s one). How would I go about doing this?

3 Likes

Have you tried using Humanoid Description? You can apply it to characters using humanoid:ApplyDescription(HumanoidDescription)

1 Like

You can try this code:

game.Workspace.YourNPC.Humanoid:ApplyDescription(game.Players:GetHumanoidDescriptionFromUserId(12345)) 

Change 12345 to the UserID of the player your using and YourNPC to your NPC’s name.

12 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.