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

how to update the character appearance of a NPC to the current user appearance?

Asked by 6 years ago

I made an NPC that looks like me ingame. the problem is that when I change my appearance, I need the NPC to mimic it.

I could have a script delete everything in the npc model and create parts that it gets from my character appearence, like so:

local model = script.parent
local appearance = GetCharacterAppearanceAsync(445069663)

function Update()
while true do 
appearance.Parent = Model.Parent
model:destroy()
model = appearance
wait(100)
end
end

is there an easier way to code this?

0
Are you only wanting this NPC to be active when you are on or? LegitmateTrades 159 — 6y
0
no, the npc should always be up to date to the character appearence, regardless if the player is ingame or not (it will be delayed though to account for ongoing changes) Rubenske1 89 — 6y

Answer this question