Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print("Welcome to the KriNe nuclear system.\r\nWARNING: This is not a joke.");
- print("Enter the keycode to activate: ");
- sRealPassword = "nexusrocks";
- sSymbol = "*";
- sInput = read(sSymbol);
- if (sRealPassword == sInput) then
- print("Nuclear system activated. Count down has begun. Find a shelter.");
- for i=0, 10 do
- print(10-i);
- sleep(1)
- end
- print("Launched");
- redstone.setOutput("left", true);
- sleep(5);
- redstone.setOutput("left", false);
- os.reboot();
- else
- print("Incorrect keycode.");
- os.reboot();
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement