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

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

Asked by
Ap_inity 112
5 years ago

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)
0
is it appearing in the hierarchy? if so, you might wanna set the humanoidrootpart cframe. brokenVectors 525 — 5y

1 answer

Log in to vote
0
Answered by 5 years ago

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."

Ad

Answer this question