I'm starting a new games since all my old gm files got erased.
Edit: C'mon you guys! I need this. You need to be more active around here!
Create an object that you put at the edge of the platform where you want enemies to turn around and then make a collision for the enemy with it to reverse the direction.