Advertisement
Guest User

w1

a guest
Sep 1st, 2014
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.39 KB | None | 0 0
  1. rednet.open("right")
  2. local id, msg, protocol = rednet.receive()
  3.  
  4. function soul()
  5.   redstone.setOutput("back", true)
  6.   sleep(4)
  7.   redstone.setOutput ("back", false)
  8.   rednet.send(117, "done", wither)
  9.     if msg = "done" then
  10.       if redstone.getInput("left") = false then
  11.         soul()
  12.       end
  13.     end
  14. end
  15.  
  16. redstone.getInput("left")
  17. while not true do
  18.   soul()
  19. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement