View difference between Paste ID: Z1wxsRij and 6b8wjSn0
SHOW: | | - or go back to the newest paste.
1
term.clear()
2
term.setCursorPos(1,1)
3
  
4
print("Loading 1%") sleep(0.1)
5
print("Loading 5%") sleep(0.1)
6
print("Loading 10%") sleep(0.1)
7
print("Loading 12%")
8
print("Initiallizing Data") sleep(0.7)
9
print("Loading 15%") sleep(1.0)
10
print("Loading 16%") sleep(2.0)
11
print("Doing system checks 1%") sleep(0.5)
12
print("Doing System Checks 10%") sleep(1.0)
13
print("Doing System Checks 50%") sleep(5.0)
14
print("Doing System Checks.. 90% No Errors found")
15
print("System Checks Complete")
16
print("Loading 20%") sleep(1.0)
17
print("Loading 30%") sleep(1.0)
18
print("Loading 55%") sleep(1.2)
19
print("Loading 70%") sleep(0.5)
20
print("Loading 75%") sleep(1.6)
21
print("Loading Complete") sleep(0.5)
22
print("Emergency Power Control") sleep(1.0)
23
print("Re-Route Emergency Power?")
24
print("(y)es or (n)o")
25
26
     input = io.read()
27
      if input == "y" then
28
        return true
29
      else
30
        return false
31
    end
32
while true do
33
  if input == "y" then
34
    rs.setOutput("back",true)
35
      print("Please Wait While Backup Power Is Re-Routed")
36
      print("Backup Power Routed 70%") sleep(0.5)
37
      print("Backup Power Royted 90%") sleep(0.5)
38
      print("Backup Power Routed Successfully") sleep(1.5)
39
  if checkPassword() == false then
40-
   end
40+
41
  end
42
 end
43
end