Problem with Humanoid

Hi all,

I’m making an NPC referee for my hockey game. The problem with it is that the referee always falls down after a faceoff.


Here’s what I tried to do so far:

humanoid:SetStateEnabled(Enum.HumanoidStateType.Ragdoll, false)
humanoid:SetStateEnabled(Enum.HumanoidStateType.FallingDown, false)
humanoid:SetStateEnabled(Enum.HumanoidStateType.PlatformStanding, false)

That seemed to make no difference at all. How can I solve this issue?

Thanks in advance.

1 Like

It seems that this issue is caused by Anchoring the HumanoidRootPart and unAnchoring it after. What can prevent the NPC from falling down?

1 Like

Any solutions other than setting the walkspeed to 0?

what is wrong with setting the walk speed to 0? you could do that right before the NPC is placed into position rather than using anchor.

When I set the walkspeed to 0, the referee’s position changes because of gravity, so it doesn’t look like he’s holding the puck:

But when it’s anchored, the CFrame is exactly as I set it:
image

The issue with anchoring the humanoidrootpart of the referee is that the ref trips and falls down immediatly after unanchoring the root part