AndreSoYeah

AND-Gate

Dec 4th, 2012
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.19 KB | None | 0 0
  1. while true do
  2.   if redstone.getInput("right") and redstone.getInput("left") then
  3.     redstone.setOutput("back",true)
  4.   else
  5.     redstone.setOutput("back",false)
  6.   end
  7.   sleep(0.001)
  8. end
Advertisement
Add Comment
Please, Sign In to add comment