Humanoid:ApplyDescription() doesn't load body colours or clothing

Localscript code:

local desc = services.plrs:GetHumanoidDescriptionFromUserId(player.UserId)
modules.loadplrdesc(workspace.ClassRoom.PlayerDummy, desc)

‘loadplrdesc’ module code:

local module = function(dummymodel, desctoapply)
	if dummymodel:FindFirstChildWhichIsA('Humanoid') then
		dummymodel:FindFirstChildWhichIsA('Humanoid'):Destroy()
		local humanoid = Instance.new('Humanoid')
		humanoid.Parent = dummymodel
		humanoid:ApplyDescription(desctoapply)
	end
end

return module

The code produces this monstrosity:

image

I’ve tried putting a ‘Shirt’ and ‘Pants’ instance in the dummy, but that didn’t help. Any ideas?

You can’t apply description of a Humanoid locally.

Vice versa, actually. It won’t work, and will error if you do it on a server-created humanoid

Humanoids from Player.Character are replicated to the server. Why not manually apply the HumanoidDescription?

1 Like

I missed this update!

Are any errors throwing?

No, just the auto recovery message.

I’ll see if it works in the roblox player though
Okay, it throws this in the player, but not studio:

Not sure if this is related though, looks like it is because line 63 is the 2nd line in the script provided

ApplyDescription can only be called by the server.
image

The following script worked for me.

local Game = game
local Workspace = workspace
local Players = Game:GetService("Players")
local R6 = Workspace.R6
local R15 = Workspace.R15

do
	local Success, Result = pcall(function() return Players:GetHumanoidDescriptionFromUserId(3394880434) end)
	if not Success then warn(Result) return end

	R6.Humanoid:ApplyDescription(Result)
	R15.Humanoid:ApplyDescription(Result)
end

image