How to make one-way collision

For no reason, it works now. It’s a pretty strange
UPD But sometimes a ball pass through the wrong side of the shield