FiireWiinter

CCRBturnoff

Oct 10th, 2017
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. term.clear()
  2. local progressbar = {"----------","o---------","oo--------","ooo-------","oooo------","ooooo-----","oooooo----","ooooooo---","oooooooo--","ooooooooo-","oooooooooo"}
  3. term.setCursorPos(20,2)
  4. print("CraftOS is")
  5. term.setCursorPos(19,3)
  6. print("turning off!")
  7. sleep(2)
  8. for i=1,#progressbar do
  9. term.setCursorPos(20,6)
  10. print(progressbar[i])
  11. sleep(0.1)
  12. end
  13. os.shutdown()
Add Comment
Please, Sign In to add comment