So I’m trying to make a barrier that allows NPCs to pass through, but not players.
I tried setting the part’s CanCollide to true locally via a LocalScript, but that didn’t seem to work.
The npcs are zombies that use the Pathfinding service.
Any help is appreciated, thanks