Advertisement
Gomo

Spaceship Launch Control Program

Jul 3rd, 2015
241
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.29 KB | None | 0 0
  1. print("Enter the launch password:")
  2. password = read("*")
  3. if password == "01234" then
  4. print("Launch sequence has been initianed! 40 seconds countdown.")
  5. rs.setOutput("top",true)
  6. sleep(40)
  7. rs.setOutput("top",false)
  8. os.shutdown()
  9. else
  10. print("Incorrect Password.")
  11. sleep(2)
  12. os.shutdown()
  13. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement