Advertisement
Guest User

Untitled

a guest
Nov 17th, 2019
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. while true do
  2. local success, data = turtle.inspect()
  3. if success then
  4. if data.name == "minecraft:oak_log" then
  5. turtle.dig()
  6. redstone.setOutput("right",true)
  7. os.sleep(0.2)
  8. redstone.setOutput("left",false)
  9. end
  10. end
  11. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement