Advertisement
killer64

Untitled

Dec 25th, 2013
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. ami = peripheral.wrap("right")
  2. amiw = ami.getWorld(ami.getPeripheralWorldID())
  3. for y = 38,63 do
  4. for z = -840,-785 do
  5. for x = 420,460 do
  6. print(x,",",y,",",z)
  7. bID = amiw.getBlockID(x,y,z)
  8. if bID == 46 then
  9. if y > 60 then
  10. amiw.setBlock(x,y,z,49,0)
  11. else
  12. amiw.setBlock(x,y,z,0,0)
  13. end
  14. --sleep(0.05)
  15. end
  16. end
  17. end
  18. sleep(0.05)
  19. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement