Certain humanoids wall collision

How do I make it where only certain humanoids can touch walls so maybe a player can’t go through the brown wall but the monster can but if I put the monsters whole body to can collide off then it can go through every wall so how can u make it where certain humanoids can go through certain walls

You should probably check out Collision Filtering. It has the behaviour you’re asking for.