I'm trying to make a game that once you get a certain amount of items around 5 enemies will spawn but I don't know how to go about spawning them, appreciate the help in advance :)
Develop games in your browser. Powerful, performant & highly capable.
You could create, for example, a global variable keeping track of the amount of items you need to get. Then, after getting that certain amount, call System -> Create object.