Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- local mon = peripheral.wrap("monitor_2")
- mon.setCursorPos(1, 1)
- mon.setTextScale(2)
- if rs.getInput("back") == true then
- mon.clear()
- mon.setBackgroundColor(colors.lightBlue)
- mon.write("Tag. 4Head")
- else
- mon.clear()
- mon.setBackgroundColor(colors.black)
- mon.write("Nacht. D:")
- end
- sleep(5)
- end
Advertisement
Add Comment
Please, Sign In to add comment