How to prevent the idling NPC to be moved by a player?

I thought just by Anchoring the HumanoidRootPart into true will work but the animation for the NPC stops. The NPC is only a character with Humanoid and Default Roblox Animation script.

Also, my other problem is when I change the value of one of the idle in there, the animation will not play even though I use the Roblox robot idle.

1 Like

Anchoring the HumanoidRootPart should work? You could maybe anchor it before the animation starts playing?

3 Likes

This is what I did, I anchored it on the Explorer first before the animation loads up as I click the Play on the studio. Nothing changes it stuck.

1 Like

Anchoring the HumanoidRootPart should make it where the NPC cannot be moved by a player during idling.

2 Likes

Try restarting studios if that doesn’t work

1 Like