View difference between Paste ID: XUvNBcC4 and nCNAaKrF
SHOW: | | - or go back to the newest paste.
1
term.setCursorBlink(false)
2-
os.pullEvent = coroutine.yield
2+
--os.pullEvent = coroutine.yield
3-
function l()
3+
local function l()
4
  local x,y = 15,18
5
  local length = 20
6
  paintutils.drawLine(x,y,length+x,y,colors.gray)
7
  for i=0,length do 
8
    paintutils.drawPixel(x+i,y,colors.lime)
9
    sleep(0.2) 
10
  end
11
  term.setBackgroundColor(colors.white)
12
  term.clear()
13
end
14-
function p(a)
14+
local function p(a)
15
  term.setTextColor(colors.black)
16
  --term.setCursorPos(15,16)
17
  local b = term.getSize()
18
  term.setCursorPos(((b-#a)/2),16)
19
  print(a)
20
end
21
term.setBackgroundColor(colors.white)
22
term.setTextColor(colors.black)
23
term.clear()
24
p"Loading APIs..."
25
l()
26
p"Loading files..."
27
l()
28
p"Loading kernel..."
29
l()
30
p"Loading file metadata..."
31
l()
32
p"Loading file browser..."
33
l()
34
p"Loading terminal..."
35
l()
36
p"Loading tons of small apps..."
37
l()
38
p"Trolling you with fake loading bar..."
39
l()
40
l()
41
l()
42
p"Loading Suprised you're still with me..."
43
l()
44-
p'ERROR: Could give "damn". Shutting down...'
44+
p'ERROR: Could not give "fuck". Shutting down...'
45
sleep(2)
46
term.clear()
47
p"Loading shutdown..."
48
l()
49
sleep(1)
50
os.shutdown()