Spawning enemies

Could you post the code that you have tried so far?