Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local num = tonumber(...)
- outp = peripheral.find("minecraft:chest").getItemDetail(2).count
- while (outp<num) do
- redstone.setOutput("bottom", true)
- outp = peripheral.find("minecraft:chest").getItemDetail(2).count
- sleep(0.1)
- end
- redstone.setOutput("bottom", false)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement