Advertisement
darthgustav

machinework.lua

Feb 12th, 2020
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. -- MachineWork
  2. local robot = require("robot")
  3.  
  4. --Move toward Work Area
  5. for i = 1,5,1
  6. do
  7. robot.forward()
  8. end
  9.  
  10. -- Facing Work Area
  11. robot.turnRight()
  12.  
  13. --Move to Work Area
  14. for i = 1,10,1
  15. do
  16. robot.forward()
  17. end
  18.  
  19. --Facing Field
  20. robot.turnLeft()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement