Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local monitor = peripheral.wrap("back")
- ctd = 10
- while true do -- check for updates on redstone
- sleep(1)
- if rs.getInput("Left") == true
- for i = 1, 10 do
- sleep(1)
- monitor.write(ctd)
- ctd = ctd - 1
- end
- else
- print("Nope!")
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement