Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- p=peripheral.wrap("left")
- while true do
- time1=os.time()
- a=p.getStoredItems()
- amount1=a.qty
- sleep(5)
- a=p.getStoredItems()
- amount2=a.qty
- time2=os.time()-time1
- print((amount1-amount2)/(time2*1000))
- end
- shell.run("lua")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement