Heyo, I’m trying to get an npc to update to look like a player’s character but I want to do it locally. So far I have not found a way as I believe HumanoidDescription doesn’t work locally?
Any help would be appreciated, thanks
Heyo, I’m trying to get an npc to update to look like a player’s character but I want to do it locally. So far I have not found a way as I believe HumanoidDescription doesn’t work locally?
Any help would be appreciated, thanks
Do you mean just clone that players character?
yeah like say you change your outfit, the NPC will change too
As AlmostADemon mentioned, cloning is the easiest way here.
local clone = game.Workspace.Player1
npc = game.Workspace:FindFirstChild("npc")
if npc then
game.Workspace.npc:Destroy()
end
clone.Parent = game.Workspace
clone.Name = "npc"
That should refresh the npc in your scenario.
Alright thank you a lot! I figured a way to do it