Floating enemies

I’m new to coding so I’d really appreciate if you could show me how to do, thank you so much