Advertisement
dzsonzi

Kiöntés_1

Jan 10th, 2025
36
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.27 KB | None | 0 0
  1. local num = tonumber(...)
  2. outp = peripheral.find("minecraft:chest").getItemDetail(1).count
  3. while (outp<num) do
  4.     redstone.setOutput("top", true)
  5.     outp = peripheral.find("minecraft:chest").getItemDetail(1).count
  6.     sleep(0.1)
  7. end
  8. redstone.setOutput("top", false)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement