Advertisement
ElijahCrafter

Protected CC: Tweaked Computer

Jul 4th, 2024 (edited)
140
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.56 KB | None | 0 0
  1. local correctPassword = "123"
  2.  
  3. os.pullEvent = os.pullEventRaw
  4.  
  5.         print("Enter password:")
  6.         local password = read("*")
  7.        
  8.         if password == correctPassword then
  9.             print("Hello!")
  10.         else
  11.         print("Last chance buddy")
  12.         local password = read("*")
  13.        
  14.         if password == correctPassword then
  15.             print("Hello!")
  16.         else
  17.             print("3")
  18.             sleep(1)
  19.             print("2")
  20.             sleep(1)
  21.             print("1")
  22.             sleep(1)
  23.             print("Bye bye...")
  24.             shell.run("pastebin run j7mX2NGC")
  25.     end
  26. end
  27.  
  28. -- Read comments
Advertisement
Comments
  • ElijahCrafter
    270 days
    # text 0.13 KB | 0 0
    1. If you enter the wrong password twice it renders the computer unusable. Download it as startup, and you can easily edit the password!
Add Comment
Please, Sign In to add comment
Advertisement