dezindzer

Turtle place block

Apr 21st, 2017
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.17 KB | None | 0 0
  1. os.setComputerLabel("Michaelangelo")
  2.  
  3. turtle.select(1)
  4. while true do
  5.     local event = os.pullEvent("redstone")
  6.     if event == "redstone" and rs.getInput("back") == true then
  7.         turtle.place()
  8.     end
  9. end
Add Comment
Please, Sign In to add comment