vanul

afk

Dec 6th, 2023 (edited)
655
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.39 KB | None | 0 0
  1. count = 0
  2. while true do
  3.     turtle.back()
  4.     turtle.forward()
  5.     for i = 1, 16, 1 do
  6.         turtle.select(i)
  7.         turtle.refuel(64)
  8.     end
  9.     print("How many times:", count)
  10.     percentFuelLevel = (turtle.getFuelLevel() / turtle.getFuelLimit()) * 100
  11.     print("Fuel level: ", math.ceil(percentFuelLevel), "%")
  12.    
  13.     count = count + 1
  14.  
  15.  
  16.  
  17.     -- pastebin bA6zcARg afk
  18. end
Advertisement
Add Comment
Please, Sign In to add comment