Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

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

Asked by 4 years ago

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

Log in to vote
2
Answered by 4 years ago
Edited 4 years ago

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

0
Thank you, you solved my problem Lord_WitherAlt 206 — 4y
0
No problem ThisIsAnAccount255 143 — 4y
Ad

Answer this question