When u cast it on a unit, make the unit neutral passive and make this trigger:
Events: Every (Math Random Number between 1 and 5(example) seconds Conditions: ------- Actions: Unit Group - Pick every unit in playable map area with the buff: 'fear' and do: order picked unit to move to a random point in rect centered at picked unit with size ...,... (x and y) (this is the 'Conversion - Convert size with point to Rect' action)