Hi! I know you are confused by the title, but I have seen games and they have an NPC. For example, someone is the highest person on the donating leader board, so they put an NPC version of them to represent that they’re the top donator.
However, when the player actually changes their avatar, the NPC’s avatar would change. How do you do that?
I don’t have access to studio right now so I can’t hand you my script that I use whenever I’d like to use it. But I’ll try to explain it before I must go.
Ok so, The basic thing to do it is just updating an NPC’s humanoid description.
Article Here: HumanoidDescription | Roblox Creator Documentation
The article basically can walk you through it all. Although you’d want to update it. For updating it, you could either
A. Use a constant loop to update the humanoid description.
Cons: Annoying Loop
B. Use a mix of HTTP service and a little bit of luck to check whenever the avatar gets updated.
Cons: Kinda Annoying to do
Roblox servers can go down and cause errors.
I’m not going into Http service today because that requires my brain to actually be functional.
So I’d recommend to just wrap it in a loop. Probably while true do but if you wanna be cool and kinda extra you can check if the player is looking at it then load it in. (I’m also not going over this cause I’m still too tired)
P.S. If I remember, I’ll try to link a script of mine that i’ve used later.