How to get enemies to avoid themselves?

hey thanks but it’s okay, i slightly altered things to only have one enemy at a time, it’ll work better in the ed