FireDemonite icon

SafeLogin

FireDemonite | PRO | 10/04/18 05:38:27 PM UTC | 0 ⭐ | 184 👁️ | Never ⏰ | []
Lua |

1.36 KB

|

None

|

0 👍

/

0 👎

os.pullEvent = os.pullEventRaw
term.clear()
term.setCursorPos(1,1)
p = "Ignite4Life"
print("    Fire Security v1.0    ")
print("+------------------------+")
print("||  Username:           ||")
print("||  Password:           ||")
print("+------------------------+")
term.setCursorPos(14,3)
print("Admin")
term.setCursorPos(14,4)
pt = read("*")
if pt == p then
    term.setCursorPos(1,6)
    print("Logging in") term.setCursorPos(11,6) textutils.slowPrint("...",1)
    term.setCursorPos(1,7)
    sleep(2)
    print("Login succesful!")
    sleep(1)
    print("Welcome Ignite!")
    sleep(2)
    term.clear()
    term.setCursorPos(1,1)
    print("Starting Fire OS") term.setCursorPos(17,1) textutils.slowPrint("...",1)
    term.setCursorPos(1,2)
    print("Reading Files") term.setCursorPos(14,2) textutils.slowPrint("...",1)
    term.setCursorPos(1,3)
    print("Clearing Cache") term.setCursorPos(15,3) textutils.slowPrint("...",1)
    term.setCursorPos(1,4)
    print("Startup Successful!")
    sleep(1)
    term.clear()
    term.setCursorPos(1,1)
    print("Fire OS v1.0")
    term.setCursorPos(1,2)
else
    term.setCursorPos(1,6)
    print("Logging in") term.setCursorPos(11,6) textutils.slowPrint("...",1)
    term.setCursorPos(1,7)
    print("Incorrect Password! Rebooting") term.setCursorPos(34,7) textutils.slowPrint("...",1)
    os.reboot()
end

Comments