Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- p = peripheral.wrap("left")
- peripheral.getNames()
- p2 = peripheral.wrap("right")
- p.setPosition(0, 10, -.5)
- p.setScale(11, 0)
- p.setPeriod(-10)
- while true do
- stacks = p2.getAllStacks()
- for i = 1, #stacks do
- stack = stacks[i].all()
- p.setImage(stack.id.."@"..stack.dmg)
- os.sleep(3)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement