Advertisement
Guest User

startup

a guest
May 27th, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.34 KB | None | 0 0
  1. redstone.setOutput("back",true)
  2. active = false  
  3. repeat
  4.   if redstone.getInput("top") == true then
  5.     print("MFSU is full, turning on mass fab for 5 minutes")
  6.     redstone.setOutput("back",false)
  7.     active = true
  8.    else
  9.      print("MFSU not full")
  10.      os.sleep(5)
  11.      end
  12.    until active == true
  13. os.sleep(300)
  14. shell.run("reboot")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement