Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- chestSide = "right"
- redstoneSide = "left"
- alvSide = "back"
- chest = peripheral.wrap(chestSide)
- alv = peripheral.wrap(alvSide)
- redstone.setOutput(redstoneSide, false)
- while alv.getQueen()["health"] > 1 do
- sleep(10)
- end
- if alv.getQueen()["health"] == 1 then
- chest.pushItem("south", 1, 1)
- sleep(40)
- chest.pullItem("south", 1, 1)
- redstone.setOutput(redstoneSide, true)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement