Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local mon=peripheral.wrap("left")
- local a = "Tovarny"
- local b = "Vesnice"
- function clear()
- mon.clear()
- mon.setBackgroundColor(colors.blue)
- mon.setTextColor(colors.yellow)
- mon.clear()
- mon.setTextScale(2)
- mon.setCursorPos(2,2)
- end
- while true do
- if redstone.getInput("back") == true then
- clear()
- mon.write(a)
- else
- clear()
- mon.write(b)
- end
- sleep(1)
- end
Add Comment
Please, Sign In to add comment