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?

2 comments

0

Are you only wanting this NPC to be active when you are on or?

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)