Advertisement
natie3

Zigzag

Oct 17th, 2019
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.23 KB | None | 0 0
  1. os.loadAPI("moveAPI.lua")
  2.  
  3. print("How far?")
  4. local amount = tonumber(read())
  5.  
  6. moveAPI.repeatMoves("f", amount)
  7. moveAPI.move("r r")
  8. moveAPI.repeatMoves("f", amount - 2)
  9. moveAPI.move("l l")
  10. moveAPI.repeatMoves("f", amount - 2)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement