Guest User

Move

a guest
Dec 6th, 2019
91
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. rednet.open("top")
  2. redstone.setOutput("back", false)
  3.  
  4. while true do
  5.     id, message = rednet.receive()
  6.    
  7.     if id==1 and message=="M" then
  8.         write("Moving...")
  9.         redstone.setOutput("back", true)
  10.         sleep(.5)
  11.         redstone.setOutput("back", false)
  12.     end
  13.    
  14. end
RAW Paste Data