Part 22 of my Random Dungeons series shows you how to build a machine that opens a portal to generate endless waves of enemies. The machine can only be stopped by throwing your sidekick through a small maintenance door. This machine will be 1 of 3 identical machines that players must destroy in the final boss battle for my randomly generated dungeon crawler, Return to Atlantis.
Here is a logic diagram that shows how to connect the Creativi-toys that I used:
![](https://professortoybox.home.blog/wp-content/uploads/2019/07/screen-shot-2019-07-30-at-8.43.27-pm.png)
Enjoy!