Advertisement
Guest User

polocz

a guest
Feb 16th, 2019
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.27 KB | None | 0 0
  1. liczba = 0
  2. function plus()
  3.   liczba = liczba + 1
  4.   print(liczba)
  5. end
  6.  
  7. while true do
  8.   if (turtle.getItemCount(1)>0) then
  9.   turtle.place(plus())
  10.     sleep(.5)
  11.     redstone.setOutput("left", true)
  12.       sleep(.1)
  13.     redstone.setOutput("left", false)
  14.   end
  15. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement