Guest User

adon

a guest
Jan 22nd, 2020
74
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local power = redstone.getInput("top")
  2.  
  3. while true do
  4. if power == "false" then
  5. term.setCursorPos(16,7)
  6. term.setBackgroudnColor(colors.red)
  7. print" "
  8.  else
  9.  term.setCursorPos(16,7)
  10.  term.setBackgroundColor(colors.green)
  11.  print" "
  12.  end
  13.  sleep(0.5)
  14. end
RAW Paste Data