Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function clear()
- term.setBackgroundColor(colors.black)
- term.clear()
- term.setCursorPos(1, 1)
- end
- function draw()
- print("Turtle Worldeater Server")
- print("")
- print("1 Mining")
- print("")
- print("2 exit")
- end
- function Mining()
- end
- function input()
- local i = io.read()
- if i == "1" then
- Mining()
- return true
- elseif i == "2" then
- return false
- end
- print("Gib was gueltiges ein!")
- sleep(1)
- return true
- end
- function loop()
- while true do
- clear()
- draw()
- if not input() then break end
- end
- clear()
- end
- Arr_ID =
- loop()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement