Make a trigger action that makes a movable object ignore collision on a selected player and another action for teams.
Example: A movable with 50 speed won't collide with player A and just pass through because of the trigger action.
This can be used as a barrier.