Advertisement
donovanwest

witherFarm

Dec 30th, 2020
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.21 KB | None | 0 0
  1. while(true) do
  2.     if(redstone.getAnalogInput("left") > 0) then
  3.         redstone.setAnalogOutput("right", 15)
  4.         os.sleep(4)
  5.         redstone.setAnalogOutput("right", 0)
  6.     end
  7.     os.sleep(30)
  8. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement