Humanoid has no HumanoidRootPart

Hey all,
I’m getting this error thrown a lot from the function ApplyDescription:

Humanoid has no HumanoidRootPart

Probably player leaving before the function yields. Does anyone know how to shush this?

Can we see the code you are using? How are we supposed to know?

local plr = game.Players.LocalPlayer
local Root = plr.Character.HumanoidRootPart

player.Character.Humanoid:ApplyDescription(the description)
it works fine I just see this error thrown a lot in the log. I’ve never experienced it myself (using a db for logs…).

it’s a yielding function, the validation would not make a difference.

1 Like

is that the full script or? what did you put in the argument for ApplyDescription?

You should make sure HumanoidRootPart exists before attempting to apply the description.

if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
    player.Character.Humanoid:ApplyDescription(the description)

a new humanoid description, it is not the full script

I’ll try that but I don’t think it would 100% solve it as said above, I get this not from my own script but from roblox and I cannot make validation of their function. Guess I’ll put a err = pcall on it…

Can we see the full script or the relevant parts and the humanoid description