Advertisement
Guest User

startup.lua

a guest
Apr 7th, 2020
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.33 KB | None | 0 0
  1. local success, data = turtle.inspect()
  2.  
  3. while true do
  4.     if success and data.name == "minecraft:fire" then
  5.         print("Found Fire, sleeping for")
  6.         for i=1,5 do
  7.             print(tostring(6-i).." seconds")
  8.             sleep(1)
  9.         end
  10.     else
  11.         turtle.place()
  12.     end
  13.     success, data = turtle.inspect()
  14. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement