Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local oxymon = peripheral.wrap("back")
- while true do
- if rs.getInput("left") then
- oxymon.setCursorPos(3,7)
- oxymon.setBackgroundColor(colors.blue)
- oxymon.clear()
- oxymon.write("Oxygen Present")
- else
- oxymon.setCursorPos(7,6)
- oxymon.setBackgroundColor(colors.red)
- oxymon.clear()
- oxymon.write("Oxygen")
- oxymon.setCursorPos(4,7)
- oxymon.write("Decompression")
- end
- os.pullEvent("redstone")
- end
Add Comment
Please, Sign In to add comment