Make humanoid run away from other humanoid

I currently have these 2 aliens, of which the big purple one hunts the smaller one.

Now ive got a system for when the small one detects that its hunted, but how do i calculate so that it runs away from the purple alien? I cant just make it move to a random position because then theres a chance that it also runs straight to the purple alien.

local OppositeDirection = (SmallMonster.Position - PurpleMonster.Position).Unit

3 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.