Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local locked = true;
- while locked == true do
- term.clear()
- term.setCursorPos(1,1)
- term.setCursorBlink(true)
- textutils.slowWrite("Welcome Lucas... \nPassword: ")
- local ePass = read("*")
- term.clear()
- term.setCursorPos(1,1)
- if ePass == "pass" then
- locked = false;
- textutils.slowPrint("Correct!")
- turtle.refuel()
- textutils.slowPrint("Refueling my ass")
- while turtle.detectDown() do
- local success1 = turtle.inspect()
- if success1 then
- turtle.dig()
- else
- turtle.forward()
- end
- local success2 = turtle.inspectDown()
- if success2 then
- turtle.digDown()
- else
- turtle.forward()
- end
- end
- else
- -- Most likely Willy
- textutils.slowPrint("Go away willlly")
- sleep(1)
- os.shutdown()
- sleep(2)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement