htrrht

kill

Nov 23rd, 2020 (edited)
492
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local component = require("component")
  2. local os = require("os")
  3. local sides = require("sides")
  4. local inventory = component.inventory_controller
  5. local robot = component.robot
  6. robot.select(15)
  7. inventory.equip()
  8. robot.turn(false)
  9. robot.use(sides.front)
  10. robot.turn(true)
  11.  
  12. robot.move(sides.front)
  13. robot.move(sides.front)
  14.  
  15. robot.turn(false)
  16. robot.use(sides.front)
  17. robot.turn(true)
  18.  
  19. robot.select(16)
  20. inventory.equip()
  21.  
  22. for i = 1, 20 do
  23.    robot.swing(sides.bottom)
  24.    os.sleep(0.5)
  25. end
  26.  
  27. inventory.equip()
  28. robot.select(15)
  29. inventory.equip()
  30.  
  31. robot.turn(false)
  32. robot.use(sides.front)
  33. robot.turn(true)
  34.  
  35. robot.move(sides.back)
  36. robot.move(sides.back)
  37.  
  38. robot.turn(false)
  39. robot.use(sides.front)
  40. robot.turn(true)
  41.  
  42. for i = 1, 15 do
  43.    robot.select(i)
  44.    robot.drop(sides.bottom)
  45. end
RAW Paste Data