Advertisement
Guest User

test

a guest
Apr 2nd, 2015
253
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.23 KB | None | 0 0
  1. local robot = require("robot")
  2.  
  3. print(robot.swingDown())
  4. local result, type = robot.swingDown()
  5. print(result)
  6. print(type)
  7. if result == "false" and type == "block" then
  8.   print("bedrock reached!")
  9. else
  10.   print("bedrock not reached!")
  11. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement