Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- detector = peripheral.wrap("left")
- while true do
- sleep(0.1)
- if detector.isPlayerInRange(1,"Ezteyh") == true then
- turtle.attack()
- turtle.back()
- turtle.digDown()
- for i = 2, 5, 1 do
- turtle.select(i)
- turtle.dropDown()
- end
- turtle.select(6)
- turtle.placeDown()
- turtle.forward()
- turtle.digDown()
- turtle.select(1)
- turtle.dropDown(1)
- turtle.select(6)
- turtle.placeDown()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement