Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Start
- local stage = 1
- local ans = "bite"
- -- Enigme
- while true do
- -- 1
- if (stage == 1) then
- print("En qu elle annee a commence la guerre de cents ans: (4 chiffres)")
- ans = read()
- if (ans == "1337") then
- write("Bien! LEEEEEEEEEEEEEEEEEEEEEEEEEEEET")
- stage = 2
- sleep(2)
- term.setCursorPos(1,1)
- term.clear()
- elseif (ans == "2244") then
- write("Bonjour maitre, admin mode actif")
- stage = 13
- sleep(1)
- term.setCursorPos(1,1)
- term.clear()
- else
- write("Faux")
- sleep(2)
- os.reboot()
- end
- end
- -- 2
- if (stage == 2) then
- print("Le guide du voyageur galactique est connu pour:(1 nombre)")
- ans = read()
- if (ans == "42") then
- write("Bien!")
- stage = 3
- sleep(2)
- term.setCursorPos(1,1)
- term.clear()
- else
- write("Faux")
- sleep(2)
- os.reboot()
- end
- end
- -- 3
- if (stage == 3) then
- print("A quoi sers la pluie ?(a + un verbe a l infinitif)")
- ans = read()
- if (ans == "a pleuvoir") then
- write("Bien!")
- stage = 4
- sleep(2)
- term.setCursorPos(1,1)
- term.clear()
- else
- write("Faux")
- sleep(2)
- os.reboot()
- end
- end
- -- 4
- if (stage == 4) then
- print("Le docteur ?(un mot)")
- ans = read()
- if (ans == "who") then
- write("Bien! TARDIS")
- stage = 5
- sleep(2)
- term.setCursorPos(1,1)
- term.clear()
- else
- write("Faux")
- sleep(2)
- os.reboot()
- end
- end
- -- 5
- if (stage == 5) then
- print("La categorie la plus vue sur 9fag?(un acronyme en maj)")
- ans = read()
- if (ans == "NSFW") then
- write("Bien!")
- stage = 6
- sleep(2)
- term.setCursorPos(1,1)
- term.clear()
- else
- write("Faux")
- sleep(2)
- os.reboot()
- end
- end
- -- 6
- if (stage == 6) then
- print("qu'elle particularite a Xohri ?(pas + un mot)")
- ans = read()
- if (ans == "pas ame") then
- write("Bien! mais il est gentille")
- stage = 7
- sleep(2)
- term.setCursorPos(1,1)
- term.clear()
- else
- write("Faux")
- sleep(2)
- os.reboot()
- end
- end
- -- 7
- if (stage == 7) then
- print("Le nom du chat noir de raphael?(un mot)")
- ans = read()
- if (ans == "carina") then
- write("Bien! kaka")
- stage = 8
- sleep(2)
- term.setCursorPos(1,1)
- term.clear()
- else
- write("Faux")
- sleep(2)
- os.reboot()
- end
- end
- -- 8
- if (stage == 8) then
- print("Le nom du chat blanc de raphael?(un mot)")
- ans = read()
- if (ans == "anouchka") then
- write("Bien! manouch")
- stage = 9
- sleep(2)
- term.setCursorPos(1,1)
- term.clear()
- else
- write("Faux")
- sleep(2)
- os.reboot()
- end
- end
- -- 9
- if (stage == 9) then
- print("qu elle est l embleme de la secte du gaming?(une + un mot)")
- ans = read()
- if (ans == "une cerise") then
- write("Bien!")
- stage = 10
- sleep(2)
- term.setCursorPos(1,1)
- term.clear()
- else
- write("Faux")
- sleep(2)
- os.reboot()
- end
- end
- -- 10
- if (stage == 10) then
- print("Qui est claire?(mon + un mot de deux lettres")
- ans = read()
- if (ans == "mon ex") then
- write("Bien!")
- stage = 11
- sleep(2)
- term.setCursorPos(1,1)
- term.clear()
- else
- write("Faux")
- sleep(2)
- os.reboot()
- end
- end
- -- 11
- if (stage == 11) then
- write("Qu elle jeu est maxence?(4 lettres)")
- ans = read()
- if (ans == "csgo") then
- write("Bien!")
- stage = 12
- sleep(2)
- term.setCursorPos(1,1)
- term.clear()
- else
- write("Faux")
- sleep(2)
- os.reboot()
- end
- end
- -- 12
- if (stage == 12) then
- write("Le jeu le plus jouer dans la Secte du gaming?(un jeu!)")
- ans = read()
- if (ans == "minecraft") then
- write("Bien!")
- stage = 13
- sleep(2)
- term.setCursorPos(1,1)
- term.clear()
- else
- write("Faux")
- sleep(2)
- os.reboot()
- end
- end
- -- 13
- if (stage == 13) then
- write("deez nuts?(1 mot)")
- ans = read()
- if (ans == "trump") then
- write("Bien!")
- stage = 14
- sleep(2)
- term.setCursorPos(1,1)
- term.clear()
- else
- write("Faux")
- sleep(2)
- os.reboot()
- end
- end
- -- end
- if (stage == 14) then
- write("Bravo ! tu as gagne !")
- redstone.setOutput("back", true)
- sleep(60)
- os.reboot()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement