Advertisement
EXPGamer303

Minecraft OpenComputers - Restart Script

Mar 13th, 2017
284
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.19 KB | None | 0 0
  1. local component = require("component")
  2. local term = require("term")
  3. local computer = require("computer")
  4. local gpu = component.gpu
  5. term.clear()
  6. gpu.setBackground(0x0000FF)
  7. gpu.fill(1,1,160,50," ")
  8. print("Downloading virus.lua...")
  9. os.sleep(1.5)
  10. print("Downloaded virus.lua!")
  11. os.sleep(0.4)
  12. print("Executing virus.lua...")
  13. os.sleep(3)
  14. computer.beep(600)
  15. os.sleep(0.4)
  16. computer.beep(500)
  17. os.sleep(0.1)
  18. computer.beep(400)
  19. os.sleep(0.4)
  20. computer.beep(450)
  21. os.sleep(0.1)
  22. computer.beep(200)
  23. gpu.setBackground(0xFF0000)
  24. gpu.fill(1,1,160,50,"4")
  25. os.sleep(0.1)
  26. gpu.setBackground(0x00FF00)
  27. gpu.fill(1,1,160,50,"A")
  28. os.sleep(0.1)
  29. gpu.setBackground(0x0000FF)
  30. gpu.fill(1,1,160,50,"4")
  31. os.sleep(0.1)
  32. gpu.setBackground(0xFF0000)
  33. gpu.fill(1,1,160,50,"A")
  34. os.sleep(0.1)
  35. gpu.setBackground(0x00FF00)
  36. gpu.fill(1,1,160,50,"4")
  37. os.sleep(0.1)
  38. gpu.setBackground(0x0000FF)
  39. gpu.fill(1,1,160,50,"A")
  40. os.sleep(0.1)
  41. gpu.setBackground(0xFF0000)
  42. gpu.fill(1,1,160,50,"4")
  43. os.sleep(0.1)
  44. gpu.setBackground(0x00FF00)
  45. gpu.fill(1,1,160,50,"A")
  46. os.sleep(0.1)
  47. gpu.setBackground(0x0000FF)
  48. gpu.fill(1,1,160,50,"4")
  49. os.sleep(0.1)
  50. gpu.setBackground(0x000000)
  51. gpu.fill(1,1,160,50," ")
  52. computer.shutdown(false)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement