Advertisement
Guest User

new

a guest
Jan 17th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.29 KB | None | 0 0
  1. while true do
  2.  
  3.  if rs.getInput("back", false) then
  4.    rs.setOutput("back", true)
  5.   end
  6.  
  7.   if rs.getInput("right", true) then
  8.   rs.setOutput("front", true)
  9.   rs.setOutput("left", false)
  10.   end
  11.  
  12.   if rs.getInput("right", false) then
  13.     rs.setOutput("left", true)
  14.     end
  15. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement