Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while drain do
- os.sleep(0)
- robot.drainDown()
- local detect, thing = robot.detectDown()
- if thing == "air" then
- drain = false
- print("I did it!")
- else
- print("Nope, no lava this time.")
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment