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

Change NPC's appearance to real player's avatar?

Asked by 4 years ago

Hello!

So I'm making a game where I would like the player to type in the name of a real roblox player, and then a blank r15 rig would change to that player's avatar, like in this game. No, this is not a request. No, I don't need you to write code for me. I would just like to know how I can do this. Any help, or pointing me in the right direction is appreciated greatly.

Thank you!

1 answer

Log in to vote
0
Answered by 4 years ago

These Are Just Ideas

  • Used ViewportFrames for the characters and such

  • Used Player.CharacterAppearanceId to get the Id of the appearance the character is wearing

  • Used HasAppearanceLoaded to check if it's loaded first, before taking the Id.

  • Or the event Character.AppeareanceLoaded, just the same as HasAppearanceLoaded, just an event that fires code when it's called.

Hopefully this gave you somewhat of a clue to get closer to your achievement!

Player Wiki

0
I actually decided on using a thing called Players:GetCharacterAppearanceAsync() which seemed to work well. Thanks for the ideas though! proqrammed 285 — 4y
0
No problem! Glad to have them ideas flowing! killerbrenden 1537 — 4y
Ad

Answer this question