GetHumanoidDescription From UserId not working with no errors

NPC.Parent = workspace

local RandomFriend = PlayerService.Cache[player].Friends[math.random(1, #PlayerService.Cache[player].Friends)]
local Success, HumanoidDescription = pcall(function()
	return Players:GetHumanoidDescriptionFromUserId(RandomFriend.Id)
end)
					
if Success then
	HumanoidDescription.Parent = NPC.Humanoid
	NPC.Humanoid:ApplyDescription(HumanoidDescription)
	NPC.HumanoidRootPart.Anchored = true
else
	warn(HumanoidDescription)
end

No errors, NPC just loads as my default NPC. It loads the HD correctly though
image

1 Like

Just did a quick test and it seems to be happening due to the HumanoidDescription being parented underneath the humanoid. Try applying it without parenting it. When you use :ApplyDescription(), it creates a duplicate HumanoidDescription object and parents it underneath the humanoid automatically (so you don’t need to do parenting with it).