Advertisement
tahg

Untitled

Jun 5th, 2016
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. p = peripheral.wrap("left")
  2. peripheral.getNames()
  3. p2 = peripheral.wrap("right")
  4. p.setPosition(0, 10, -.5)
  5. p.setScale(11, 0)
  6. p.setPeriod(-10)
  7. while true do
  8. stacks = p2.getAllStacks()
  9. for i = 1, #stacks do
  10. stack = stacks[i].all()
  11. p.setImage(stack.id.."@"..stack.dmg)
  12. os.sleep(3)
  13. end
  14. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement