Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local rpca = "1"
- local crpa = "1"
- local vrga = "1"
- term.clear()
- term.setTextColor(colors.lightGray)
- term.setCursorPos(5,9)
- print("------------------------------------------")
- term.setCursorPos(5,10)
- term.setTextColor(colors.purple)
- print("CET ORDINATEUR NE FAIT RIEN BANDE DE PUTES")
- term.setTextColor(colors.lightGray)
- term.setCursorPos(5,11)
- print("------------------------------------------")
- term.setCursorPos(100,100)
- term.setTextColor(colors.lightBlue)
- ent = read()
- if ent == "" then
- term.setCursorPos(9,11)
- term.clear()
- term.setTextColor(colors.green)
- print("Connexion a Aperture Science....")
- term.setCursorPos(1,2)
- term.setTextColor(colors.lightBlue)
- print("Merci de vous connecter !")
- term.setTextColor(colors.purple)
- print("Nom d'utilisateur : ")
- nd = read()
- if nd == "RedPowerCraft" and rpca == "1" then
- print("Merci de rentrer le mot de passe : ")
- elseif nd == "Creeperdu38" and crpa == "1" then
- print("Merci de rentrer le mot de passe : ")
- elseif nd == "VirgileGaminG25" and vrga == "1" then
- print("Merci de rentrer le mot de passe : ")
- elseif nd == "RedPowerCraft" and rpca == "0" or nd == "Creeperdu38" and crpa == "0" or nd == "VirgileGaminG25" and vrga == "0" then
- print("Compte non-actif !")
- sleep(1)
- print("Redemarrage")
- sleep(1)
- os.reboot()
- else
- print("Non reconnu par Aperture Science.....")
- sleep(1)
- print("Redemarrage")
- sleep(1)
- os.reboot()
- end
- mdp = read("*")
- if nd == "RedPowerCraft" and mdp == "Redstone" or nd == "VirgileGaminG25" and mdp == "halflife2" then
- print("Acces aux serveurs principaux.....")
- sleep(1)
- print("Connexion....")
- sleep(1)
- print("Connexion reussie !")
- sleep(1)
- print("Ouverture de la porte.....")
- redstone.setOutput("bottom", true)
- sleep(6)
- redstone.setOutput("bottom", false)
- sleep(1)
- os.reboot()
- elseif nd == "Creeperdu38" and mdp == "Red-Cube" then
- print("Acces aux serveurs principaux.....")
- sleep(1)
- print("Connexion....")
- sleep(1)
- print("Connexion reussie !")
- sleep(1)
- print("Ouverture de la porte.....")
- redstone.setOutput("bottom", true)
- sleep(6)
- redstone.setOutput("bottom", false)
- sleep(1)
- os.reboot()
- else
- print("Merci de rentrer le vrai mot de passe...")
- sleep(2)
- print("Redemarrage en cours....")
- sleep(1)
- os.reboot()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement