Advertisement
natie3

Corridor

Sep 6th, 2019
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. os.loadAPI("moveAPI.lua")
  2.  
  3. print("how far?")
  4. local amount = tonumber(read())
  5. print("3 hight? Y/n")
  6. local three = read()
  7.  
  8. function straight()
  9.   if three == "n" then
  10.     moveAPI.repeatMoves("f dd", amount)
  11.   else
  12.     moveAPI.repeatMoves("f dd du", amount)
  13.   end
  14. end
  15.  
  16. straight()
  17. moveAPI.move("r dd dr")
  18. straight()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement