Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local robot = require("robot")
- print(robot.swingDown())
- local result, type = robot.swingDown()
- print(result)
- print(type)
- if result == "false" and type == "block" then
- print("bedrock reached!")
- else
- print("bedrock not reached!")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement