Make A New Empty Project And Create Your Sprite That We Will Create Now Go to The Event Sheet And Create A New Global Variable And Name It LimitCreate and Create A New Event
On Start of Layout
Create another Condition On That Event Were gonna Do Dual Condition
Compare Variable LimitCreate = To 1
And The Action Create Object At Layer at X random(30, 640) Y -20
Add Another Event Your Sprite On Destroyed
And The Action add 1 to LimitCreate