Add forcefield around multiple characters/units

Before you assume I’m thinking about literal roblox forcefields, I’m not. I was thinking about a stayback function for my units and was wondering if I could do something interesting.principles

Right now, the units will try to walk through each other in a very ugly fashion ultimately making them not fully reach intended destination. They try and climb on top of each other. With this, I could make them get pushed away from each other to prevent that. Kind of like an invisible conveyor belt that moves outwards.

Is there a way that I could make it to where there is a kind of field that when a unit enters it they get pushed out? if anyone could help me with this it would be greatly appreciated!

RTS AI, good luck