SHARE
TWEET

adon

a guest Jan 22nd, 2020 61 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
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top