MigasRocha

Call elevator floor -1

Jan 8th, 2024
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.16 KB | None | 0 0
  1. while true do
  2. rednet.open("right")
  3.  
  4. if redstone.getAnalogInput("top") == 0 then
  5.     sleep(1)
  6. else
  7.     rednet.send(29, "call")
  8.     print("sinal")
  9.     end
  10. end
Add Comment
Please, Sign In to add comment