Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- p=peripheral.wrap("right")
- while true do
- time1=os.time()
- a=p.getTankInfo()
- amount1=a[1].contents.amount
- sleep(10)
- a=p.getTankInfo()
- amount2=a[1].contents.amount
- time2=os.time()-time1
- print((amount1-amount2)/(time2*500))
- end
- shell.run("lua")
Add Comment
Please, Sign In to add comment