I wanna make a script that changes a current model into your current avatar.
Are there any ways to make this model into my avatar?
I wanna make a script that changes a current model into your current avatar.
Are there any ways to make this model into my avatar?
Go test the game and copy and paste your character in the workspace or use a plugin that load characters(both do the same thing). It’s probablY better to change it manually.
Get a HumanoidDescription from Players.GetHumanoidDescriptionFromUserId and apply it to the NPC’s humanoid, or fetch the character’s assets packed into a model from Players.GetCharacterAppearanceAsync and unload them into the character as needed.
The latter choice will require you to custom handle each asset since you can’t just parent everything to the character (for example, the face is also included as a direct child of the model). You’ll also need to take more caution while replacing packages - ReplaceBodyPartR15 should help you with this.
The former choice is easier to work with and will automatically handle all application of character assets and packages for you internally, but I don’t know if there was an update to HumanoidDescription that allows it to be used with NPCs. Pretty sure that limitation was resolved, worth a test.