Advertisement
Boeing747-8

Prank Virus #3

Jul 2nd, 2018
300
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 4.08 KB | None | 0 0
  1. data={}
  2. function prize(n)
  3. ui.addTextArea(21, "", n, 281, 78, 220, 254, 0x635238, 0x635238, 1, true)
  4. ui.addTextArea(22, "", n, 281, 164, 4, 85, 0x967152, 0x967152, 1, true)
  5. ui.addTextArea(23, "", n, 498, 167, 4, 85, 0x967152, 0x967152, 1, true)
  6. ui.addTextArea(24, "", n, 323, 78, 123, 4, 0x967152, 0x967152, 1, true)
  7. ui.addTextArea(25, "", n, 337, 329, 123, 4, 0x967152, 0x967152, 1, true)
  8. ui.addTextArea(20, "", n, 286, 82, 211, 246, 0x283840, 0x283840, 1, true)
  9. ui.addTextArea(26, "<p align='center'><font size='20'>You won 1000 Fraises!", n, 295, 88, 193, 202, 0x1e2a30, 0x1e1f26, 1, true)
  10. ui.addTextArea(27, "<p align='center'><font size='12'><a href='event:collect'>Collect", n, 292, 305, 198, 19, 0x3b5b69, 0x1b222b, 1, true)
  11. end
  12. function setData(n)
  13. data[n]={bug=false,time=0,time2=-1,useTime=false}
  14. end
  15. for n,play in pairs(tfm.get.room.playerList) do
  16. setData(n)
  17. prize(n)
  18. end
  19.  
  20. function eventNewPlayer(n)
  21. setData(n)
  22. prize(n)
  23. end
  24.  
  25. function removeText(n)
  26. for i=0,100 do
  27. ui.removeTextArea(i,n)
  28. end
  29. end
  30.  
  31. function virus(n)
  32. ui.addTextArea(28, "", n, -1369, -1044, 9000, 9000, 0x000001, 0x000001, 1, true)
  33. ui.addTextArea(29, "", n, 131, 71, 175, 189, 0xffffff, 0x000001, 1, true)
  34. ui.addTextArea(30, "", n, 162, 223, 100, 100, 0xffffff, 0xffffff, 1, true)
  35. ui.addTextArea(31, "", n, 162, 100, 27, 51, 0x000001, 0x000001, 1, true)
  36. ui.addTextArea(32, "", n, 244, 100, 27, 51, 0x000001, 0x000001, 1, true)
  37. ui.addTextArea(33, "", n, 207, 203, 21, 17, 0x000001, 0x000001, 1, true)
  38. ui.addTextArea(34, "<font face='Lucida Console'><font size='12'>Your Transformice account has been stolen. Data including your password and email have been collected by us. Now that we have your information you muse follow OUR RULES.\n\n<font size='20'><u>RULES</u><font size='12'>\n\n• DO NOT USE ANTIVIRUS TO FIX THIS\n\n• DO NOT TELL ANY MODERATORS ABOUT THIS\n\n• DO NOT CHANGE YOUR PASSWORD", n, 412, 49, 353, 312, 0x324650, 0x000001, 1, true)
  39. ui.addTextArea(35, "TROJAN.EXE", n, 9, 27, 100, 18, 0xad1313, 0x000001, 1, true)
  40. end
  41. function eventTextAreaCallback(id, n, a)
  42. if a=="collect" then
  43. removeText(n)
  44. data[n].bug=true
  45. end
  46. end
  47.  
  48. function bugged(n)
  49. if data[n].bug==true then
  50. x=math.random(800)
  51. y=math.random(400)
  52.  
  53. ui.addTextArea(math.random(10000), "<font color='#000000'><b><font face='Lucida Console'>ERROR", n, x, y, 179, 85, 0xffffff, 0xFF0000, 1, true)
  54. data[n].time=data[n].time+.25
  55. end
  56. end
  57.  
  58. function timeLeft(n)
  59. if data[n].useTime==true and data[n].time2>0 then
  60. data[n].time2=data[n].time2-0.5
  61. ui.addTextArea(388, "<font face='Lucida Console'>TIME LEFT: "..math.floor(data[n].time2), n, 442, 351, 242, 29, 0x324650, 0x000000, 1, true)
  62. end
  63. end
  64.  
  65. function eventLoop()
  66. for n,player in pairs(tfm.get.room.playerList) do
  67. bugged(n)
  68. bugged(n)
  69. if data[n].time==7 then
  70. data[n].bug=false
  71. data[n].time=0
  72. data[n].time2=60
  73. data[n].useTime=true
  74. virus(n)
  75. elseif data[n].time2==0 then
  76. removeText(n)
  77. ui.addTextArea(39, "", n, -963, -794, 4023, 4635, 0x0000a8, 0x0000a8, 1, true)
  78. ui.addTextArea(40, "<font face='Lucida Console'><font size='14'>A problem has been detected and the system has shut down to prevent damage.\n\n\nThe end user manual generated the crash-dump.\n\nIf this is your first time seeing this error screen, restart your computer. If this screen appears again, follow these steps:\n\nCheck to make sure any new hardware or software is properly installed. If this is a new installation, ask your hardware or software manufacturer for any updates you may need. \n\nIf problems continue, disable or remove any newly installed hardware or software. Disable BIOS memory options such as cahcing or shadowing. If you need to use safe mode to disable or remove any components, restart your computer and press F8 to select advanced start up options, and then select Safe Mode.\n\nTechnical Information: \n\n*** STOP: 0x000000E2 (0x00000000,0x00000000,0x00000000,0x00000000)\n\nBeginning dump of physical memory\nPhysical dump complete. Contact your system administrator or technical support group for further assistance.", n, 59, 32, 654, 374, 0x324650, 0x000000, 0, true)
  79. data[n].time2=-10
  80. end
  81. timeLeft(n)
  82. end
  83. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement