Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do I load a Player's Appearance into an NPC?

I have a custom NPC in my game and i want a way to load a Player's Appearance onto that NPC, I want it so that the NPC will have that appearance even if the Player changes his Avatar Is there anyway i can code this to happen

1 answer

✓ Accepted answer

You could use humanoid descriptions to achieve this (I assume your npc has a humanoid in it). You can run game:GetService("Players"):GetHumanoidDescriptionFromUserId(userid) to get a humanoid description of the player. Then set the appearance of the NPC with humanoid:ApplyDescription(description).

Hope this helps

Players:GetHumanoidDescriptionFromUserId

Humanoid:ApplyDescription

HumanoidDescription

2 comments

0

Thank you, you solved my problem

0

No problem

This discussion is preserved as it was. New answers, comments, and votes are closed.