Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- letters={""}
- function eventNewGame()
- ui.addTextArea(-2,"<br><br><font size='50'><align='center'>"..countdown.."\n",nil,-900,-900,9000,9000,0x000001,0x000001,1,true)
- end
- 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>')
- tfm.exec.setUIMapName("<R>Your computer is infected, leaving this room or logging off will result in spies being sent to your house. ")
- tfm.exec.setGameTime(9999)
- tfm.exec.disableAutoNewGame(true)
- countdown = math.random(20)
- timeleft = 60
- 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>"
- n="0xFFFFFF"
- color=1
- function eventLoop(timeRemaining,timeRemaining)
- tfm.exec.setUIMapName("<R>Your computer is infected, leaving this room or logging off will result in spies being sent to your house. ")
- countdown = countdown / .9
- color = color * 20
- timeleft = timeleft - 0.5
- ui.addTextArea(1,text..""..countdown.."\n",nil,200,60,400,nil,n,0x000001,1,true)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- if timeleft==0 then
- ui.removeTextArea(1,nil)
- text=" "
- n="0x000001"
- ui.removeTextArea(3,nil)
- for i=0,100 do
- ui.removeTextArea(i)
- timeleft=0.5
- 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)
- 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)
- 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)
- end
- end
- 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"}
- function eventChatMessage(m,n)
- if n=="virus" or n=="infection" or n=="hack" then
- tfm.exec.chatMessage("<R>"..messages[math.random(#messages)])
- end
- end
- end
- function eventTextAreaCallback(t, p, c)
- if c=="pay" then
- 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)
- end
- end
- function eventPopupAnswer(popupID, playerName, answer)
- if answer=="yes" then
- 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)
- elseif popupID==2 then
- 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)
- end
- end
- function eventChatCommand(n,m)
- if m=="pay" then
- 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)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement