How to make percentage based spawning system

it will be at least 10 enemies and i dont want to have 10 branches one after the other