Random flight ai script? (Platformer)

Hey, I have a monster I wanna make, but I would like it to fly randomly, kinda like bats in Zelda.
Anyone happen to know how to whip up this kinda thing?
 
Top Bottom