Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- IronCore OS
- -- Created By: GsL_Inc.
- -- =====================
- -- Anti-Bypass
- --os.pullEvent = os.pullEventRaw
- -- Data
- User = "Majere"
- Pass = "GsL2c14Adm"
- Aces = "9632"
- TerminalCode = "ICMA1-A-10"
- -- Center Text
- local cPrint = function(text)
- local x2,y2 = term.getCursorPos()
- local x,y = term.getSize()
- term.setCursorPos(math.ceil((x / 2) - (text:len() / 2)), y2)
- print(text)
- end
- local Clear = function()
- term.clear()
- term.setCursorPos(1, 1)
- end
- while true do
- Clear()
- cPrint("Welcome to IronCore OS [Server [ICM-Main] ]")
- cPrint("===========================================")
- cPrint("Please Enter Username: ")
- term.setCursorPos(38, 3)
- input1 = read()
- if input1 == User then
- cPrint("Please Enter Password: ")
- term.setCursorPos(38, 4)
- input2 = read("*")
- if input2 == Pass then
- cPrint("Please Enter AcesCode: ")
- term.setCursorPos(38, 5)
- input3= read("*")
- if input3 == Aces then
- cPrint("Checking Databanks")
- term.setCursorPos(18, 7)
- textutils.slowWrite("....", 1)
- Clear()
- cPrint("Please Confirm Terminal Code: ")
- term.setCursorPos(49, 1)
- input4 = read()
- if input4 == TerminalCode then
- Clear()
- cPrint("Server [ICM-Main[AdminA]]")
- cPrint("=========================")
- ----Change
- textutils.tabulate(shell.programs())
- break
- -----
- end
- end
- end
- end
- if input1 ~= User then
- cPrint("Access Denied!")
- sleep(2)
- --shell.run("IronCore")
- elseif input2 ~= Pass then
- cPrint("Access Denied!")
- sleep(2)
- --shell.run("IronCore")
- elseif input3 ~= Aces then
- cPrint("Access Denied!")
- sleep(2)
- --shell.run("IronCore")
- elseif input4 ~= TerminalCode then
- cPrint("Access Denied!")
- sleep(2)
- --shell.run("IronCore")
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement