Advertisement
Boeing747-8

Untitled

Feb 20th, 2018
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.20 KB | None | 0 0
  1. letters={""}
  2. function eventNewGame()
  3. ui.addTextArea(-2,"<br><br><font size='50'><align='center'>"..countdown.."\n",nil,-900,-900,9000,9000,0x000001,0x000001,1,true)
  4.  
  5. end
  6. tfm.exec.newGame('<C><P /><Z><S><S X="551" o="0" L="3000" Y="351" c="4" H="3000" P="0,0,0.3,0.2,0,0,0,0" T="12" /><S X="667" o="0" L="3000" Y="543" H="373" P="0,0,0.3,0.2,0,0,0,0" T="12" /></S><D /><O /></Z></C>')
  7.  
  8. tfm.exec.setUIMapName("<R>Your computer is infected, leaving this room or logging off will result in spies being sent to your house. ")
  9. tfm.exec.setGameTime(9999)
  10. tfm.exec.disableAutoNewGame(true)
  11. countdown = math.random(20)
  12. timeleft = 60
  13. text="<font face='Calibri'><R><font size='20'><b>YOUR FILES HAVE BEEN ENCRYPTED</u><br><br><font size='15'><align='center'>Your computer is infected.<br><br>Installing malware into computer software.<br><br><font size='20px'><u>Can I Recover This?</u><br><font size='15'>No, this virus will permanently be on your computer, UNLESS you pay by typing !pay or waiting for the time to run out and clicking the 'RANSOM FEE' button.<br><font size='11'><align='center'><br><br><br>Loading virus...<br><br><br>"
  14. n="0xFFFFFF"
  15. color=1
  16.  
  17.  
  18.  
  19. function eventLoop(timeRemaining,timeRemaining)
  20. tfm.exec.setUIMapName("<R>Your computer is infected, leaving this room or logging off will result in spies being sent to your house. ")
  21. countdown = countdown / .9
  22. color = color * 20
  23. timeleft = timeleft - 0.5
  24. ui.addTextArea(1,text..""..countdown.."\n",nil,200,60,400,nil,n,0x000001,1,true)
  25. ui.addTextArea(3,"<font face='Calibri'><N><font size='20'><b>TIME LEFT: <br><br><br>"..timeleft,nil,90,185,100,150,0xFF0000,0x000000,1,true)
  26.  
  27. ui.addTextArea(4,"<VP><font face='Calibri'><font size='15'><br><br><br>"..letters[math.random(#letters)],nil,math.random(700),300,195,100,0x000001,0x000001,0,true)
  28. ui.addTextArea(5,"<VP><font face='Calibri'><font size='15'><br><br><br>"..letters[math.random(#letters)],nil,math.random(700),300,195,100,0x000001,0x000001,0,true)
  29. ui.addTextArea(6,"<VP><font face='Calibri'><font size='15'><br><br><br>"..letters[math.random(#letters)],nil,math.random(700),300,195,100,0x000001,0x000001,0,true)
  30. ui.addTextArea(7,"<VP><font face='Calibri'><font size='15'><br><br><br>"..letters[math.random(#letters)],nil,math.random(700),300,195,100,0x000001,0x000001,0,true)
  31. ui.addTextArea(8,"<VP><font face='Calibri'><font size='15'><br><br><br>"..letters[math.random(#letters)],nil,math.random(700),300,195,100,0x000001,0x000001,0,true)
  32. ui.addTextArea(9,"<VP><font face='Calibri'><font size='15'><br><br><br>"..letters[math.random(#letters)],nil,math.random(700),300,195,100,0x000001,0x000001,0,true)
  33. ui.addTextArea(10,"<VP><font face='Calibri'><font size='15'><br><br><br>"..letters[math.random(#letters)],nil,math.random(700),300,195,100,0x000001,0x000001,0,true)
  34. ui.addTextArea(11,"<VP><font face='Calibri'><font size='15'><br><br><br>"..letters[math.random(#letters)],nil,math.random(700),300,195,100,0x000001,0x000001,0,true)
  35.  
  36. if timeleft==0 then
  37. ui.removeTextArea(1,nil)
  38. text=" "
  39. n="0x000001"
  40. ui.removeTextArea(3,nil)
  41. for i=0,100 do
  42. ui.removeTextArea(i)
  43. timeleft=0.5
  44. ui.addTextArea(1,"<font face='mason serif'><R><font size='13'>Hackers have denied your access of using <N>transformice.com,<R> click the 'PAY YOUR RANSOM' tab to pay for your access back.",nil,200,60,400,nil,0x000001,0x000001,1,true)
  45. ui.addTextArea(2,"<font face='mason serif'><R><font size='13'>Hackers have denied your access of using <N>transformice.com,<R> click the 'PAY YOUR RANSOM' tab to pay for your access back.",nil,200,60,400,nil,0x000001,0x000001,1,true)
  46. ui.addTextArea(-3,"<u><font face='lucida console'><N><font size='15'><a href='event:pay'>PAY YOUR RANSOM",nil,280,350,170,20,0xFF0000,0,1,true)
  47.  
  48. end
  49. end
  50.  
  51. messages={"Your computers are infected.","You're computers are all being attacked","You will never be able to use your computer by tomorrow","We will hack and take over your accounts"}
  52.  
  53. function eventChatMessage(m,n)
  54. if n=="virus" or n=="infection" or n=="hack" then
  55. tfm.exec.chatMessage("<R>"..messages[math.random(#messages)])
  56.  
  57. end
  58. end
  59. end
  60.  
  61. function eventTextAreaCallback(t, p, c)
  62. if c=="pay" then
  63. ui.addPopup(1,1,"By paying a ransom your personal information like bank accounts and phone numbers will be safe and not in danger. Please choose yes or no if you want to pay a ransom",p,30,25,150,true)
  64.  
  65. end
  66. end
  67.  
  68. function eventPopupAnswer(popupID, playerName, answer)
  69. if answer=="yes" then
  70. ui.addPopup(2,2,"Put in a number of how much money (in bitcoins) you will pay (GOING BACK WILL MAKE SPIES AUTOMATICALLY BE SENT TO YOUR HOME).",playerName,30,25,150,true)
  71. elseif popupID==2 then
  72. ui.addPopup(1,0,"Excelent! Spies will come to your address and collect the money you promised to pay. Remember that if you don't have the money, there will be <i><font color='#FF0000'><b>fatal</b></font></i> consequences.",playerName,30,25,150,true)
  73.  
  74.  
  75. end
  76. end
  77. function eventChatCommand(n,m)
  78. if m=="pay" then
  79. ui.addPopup(1,1,"By paying a ransom your personal information like bank accounts and phone numbers will be safe and not in danger. Please choose yes or no if you want to pay a ransom",n,30,25,150,true)
  80.  
  81. end
  82. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement