sooo i have a few ideas to make this better.
*add a min and max input to the bar
*add a not to the logic gate!!! (there is a way to do it with a nand and a always but we need an official one)
*when i spawn objects they are way more laggy than if i set them there
(example https://flowlab.io/game/play/1560674)