itssnowing

Untitled

Aug 12th, 2016
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. while drain do
  2. os.sleep(0)
  3. robot.drainDown()
  4. local detect, thing = robot.detectDown()
  5. if thing == "air" then
  6. drain = false
  7. print("I did it!")
  8. else
  9. print("Nope, no lava this time.")
  10. end
  11. end
Advertisement
Add Comment
Please, Sign In to add comment