legg0028

secret_door_close

Aug 3rd, 2021 (edited)
351
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local modem = peripheral.wrap("back")
  2. modem.open(00005)
  3.  
  4. while true do
  5.   os.pullEvent("redstone")
  6.   if rs.getInput("front") then
  7.     sleep(5)
  8.     modem.transmit(00005,00005,"open")
  9.   end
  10.   sleep(2)
  11. end
RAW Paste Data