Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- m = peripheral.wrap("top")
- while true do
- if rs.getInput("front") then
- m.setBackgroundColor(1)
- m.clear()
- sleep(0.5)
- else
- sleep(0.5)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement