Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- p=peripheral.wrap("bottom")
- while true do
- time1=os.time()
- amount1=p.getItemMeta(2).count
- sleep(30)
- amount2=p.getItemMeta(2).count
- time2=os.time()-time1
- difference=math.abs((amount1-amount2)/(time2*1000))
- print(difference.." n/t - "..(difference*20).." n/s")
- end
- shell.run("lua")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement