Advertisement
Guest User

and

a guest
Feb 19th, 2018
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.20 KB | None | 0 0
  1. i1 = "left"
  2. i2 = "right"
  3. o = "top"
  4. while true do  
  5.   if rs.getInput(i1) == true and rs.getInput(i2) == true then
  6.     rs.setOutput(o,true)
  7.   else
  8.     rs.setOutput(o,false)
  9.   end
  10.   os.sleep(0.0001)
  11. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement