I think I've found a bug, the repeat x times works fine when I use it inside an infinite or another loop but when the repeat x times is the outer loop ( I wanted a worker bot to create 4 other bots and no more than that ) the worker bot doesn't stop making other bots and the repeate x times becomes an infinite loop.