Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- rednet.open("right")
- local id, message = rednet.receive()
- if id == 28 then
- redstone.setOutput("front", true)
- sleep(1)
- redstone.setOutput("front", false)
- print("chegou")
- else
- sleep(0.1)
- end
- end
Add Comment
Please, Sign In to add comment