startup:
while true do shell.run"redside" endredside:
redstone.setOutput("right", true) if redstone.getInput("front", true) then redstone.setOutput("right", false) sleep(10) os.restart() endbut if I reboot now, it works for only a couple of seconds and a error pops up which says 'Too long without yielding'. What did I do wrong?