Advertisement
Guest User

sda

a guest
May 25th, 2019
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. robot = require("robot")
  2.  
  3. while true do
  4. for i = 0, 5 do
  5. robot.forward()
  6. end
  7. robot.turnRight()
  8. robot.forward()
  9. robot.turnRight()
  10. robot.forward()
  11. robot.forward()
  12. robot.turnLeft()
  13. robot.forward()
  14. robot.forward()
  15.  
  16. robot.turnRight()
  17. robot.forward()
  18.  
  19. robot.turnLeft()
  20. robot.forward()
  21.  
  22. robot.turnRight()
  23. robot.forward()
  24.  
  25. robot.turnLeft()
  26. robot.forward()
  27.  
  28.  
  29. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement