MegiRicky

pumpM1AX.lua

Sep 28th, 2024
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. local engine = peripheral.wrap("left")
  2. local right = peripheral.find("Create_RotationSpeedController")
  3. local suspensionMotor = peripheral.find("electric_motor")
  4.  
  5. local function pullFuel()
  6. while true do
  7. engine.pullFluid("back",20,"createdieselgenerators:biodiesel")
  8. print("fuelPulled")
  9. sleep(1)
  10. end
  11. end
  12.  
  13. parallel.waitForAny(
  14. pullFuel
  15. )
Advertisement
Add Comment
Please, Sign In to add comment