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

How to load a character appearance for an NPC in-game?

I've tried to do this many times, I've looked it up on the wiki, and I actually tried some methods myself. I've found absolutely nothing.

Here's what I made earlier, didn't work at all.

spawn(function()
	while wait(15) do
		local mdl = workspace.CharModel
		local char = game.Players:GetCharacterAppearanceAsync(117099978)
		
		mdl:Destroy()
		char.Parent = workspace
		char.Name = "CharModel"
	end
end)

1 comment

0

is it appearing in the hierarchy? if so, you might wanna set the humanoidrootpart cframe.

1 answer

You might want to look inside the object that the function loads: it's not a self contained character, it's only accessories and meshes.

This function returns a Model containing the assets which the player is wearing, excluding gear.

It doesn't say "Loads the player's character."

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