Advertisement
Guest User

Untitled

a guest
Mar 28th, 2020
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. while true do  
  2.  if redstone.getAnalogInput("right")<8 then
  3.     redstone.setAnalogOutput("left",15)
  4.   else
  5.     redstone.setAnalogOutput("left",0)
  6.   end
  7.   os.sleep(0.1)
  8. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement