View difference between Paste ID: PGPvnxsG and CChB8UUC
SHOW: | | - or go back to the newest paste.
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(20,3)
6
print("rebooting!")
7
sleep(2)
8
for i=1,#progressbar do
9
term.setCursorPos(20,6)
10-
sleep(0.5)
10+
11
sleep(0.1)
12
end
13
os.reboot()