Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

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

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

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

2 comments

0

I actually decided on using a thing called Players:GetCharacterAppearanceAsync() which seemed to work well. Thanks for the ideas though!

0

No problem! Glad to have them ideas flowing!

This discussion is preserved as it was. New answers, comments, and votes are closed.