Advertisement
charlesthepenguin

Untitled

Jul 28th, 2020
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. local c = require("component")
  2. local term = require("term")
  3. local component = require("component")
  4. local event = require("event")
  5. local serialization = require("serialization")
  6. local gpu = component.gpu
  7. local tun = component.tunnel
  8. local w, h = gpu.getResolution()
  9. gpu.fill(1, 1, w, h, " ")
  10. local asd = 1
  11. local os = require("os")
  12.  
  13. local address
  14. repeat
  15. term.clear(true)
  16. print("Prank Computer")
  17. print("")
  18. print("Do you wanna prank? y/n")
  19. answer = io.read()
  20. print()
  21. if answer == "y" then
  22. print("Pranking.")
  23. tun.send("prank")
  24. print("Command sent.")
  25.  
  26. os.sleep(5)
  27.  
  28. elseif answer == "n" then
  29. print("Aborted")
  30. os.sleep(5)
  31.  
  32.  
  33. end
  34. until asd == 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement