Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function checkFuel()
- local fuel = turtle.getFuel()
- if fuel > 30 then
- return true
- else
- return false
- end
- end
- function Start()
- if checkFuel() == false then
- os.shutdown()
- else
- shell.run("Tools","Speaker","bit",2.0)
- Main()
- end
- end
- function Main()
- end
Add Comment
Please, Sign In to add comment