Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do I get the player unable to push an NPC?

I'm creating a story game, and in these games there are NPCs who walk around. But the player is managing to push the NPC.

(The NPC has to run animations and get moving.)

Note: I don't know how to handle collision groups, anchoring the HumanoidRootPart isn't working.

1 answer

✓ Accepted answer

You could set each part of the npc cancollide to false.

2 comments

0

You can't disable an NPC's collision, in that case, it would fall into void. And as I said: (The NPC has to run animations and get moving.)

0

Oh I thought that cancollide would only allow characters to not collide because I always use anchor. I didn't realize that it would ignore every other thing and fall through

This discussion is preserved as it was. New answers, comments, and votes are closed.