Advertisement
ElijahCrafter

Untitled

Jul 7th, 2024 (edited)
28
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.39 KB | None | 0 0
  1. print("Gamble?")
  2. print("y/n")
  3.  
  4. os.pullEvent = os.pullEventRaw
  5.  
  6. input = read()
  7.  
  8. if input == "y" then
  9. shell.run("os")
  10. elseif input == "n" then
  11. print("Enter password")
  12.  
  13. correct = "123"
  14.  
  15. pass = read("*")
  16.  
  17. if pass == correct then
  18. print("Going to shell")
  19. else
  20. print("Thought you could scam me?")
  21. shell.run("startup")
  22. end
  23.  
  24. else
  25. print("Invalid")
  26. shell.run("startup")
  27. end
  28.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement