Spatzenhirn123

Botania Fooddrop

Feb 13th, 2022 (edited)
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.30 KB | None | 0 0
  1. timeLeft=1
  2. timeRight=5
  3.  
  4.  
  5. while true do
  6.     if (redstone.getInput("back")==false) then
  7.         redstone.setOutput("left",true)
  8.         os.sleep(timeLeft)
  9.         redstone.setOutput("left",false)
  10.         redstone.setOutput("right",true)
  11.         os.sleep(timeRight)
  12.         redstone.setOutput("right",false)
  13.     else
  14.         os.sleep(60)
  15.     end
  16. end
Add Comment
Please, Sign In to add comment