|
| 21 May 2015 03:56 PM |
I didn't make this, by the way. But the problem I'm experiencing is that I've noticed an increase in lag around the time I added this anti-virus script. I know for sure it works but I'm wondering if it would cause any lag or if it's just roblox updates.
------------------------------------------------ Print_Scan_Results = true --Prints the results of each scan in the output window. ------------------------------------------------ Quarantine_Instead_of_Delete = false --Quarantines all malicious objects into the Lighting Directory for you to view, after making all hidden objects visable. ------------------------------------------------ --Script Created by Vitos q = Instance.new("Model") q.Name = "VirusVault" classes = {"AutoJoint","grumpycommander","Fire", "BackpackItem", "Feature", "Glue", "HtmlWindow", "JointInstance", "LocalBackpack", "LocalBackpackItem", "MotorFeature", "Mouse", "Rotate", "RotateP", "RotateV", "Snap", "StockSound", "VelocityMotor", "Weld", "Geometry", "Timer","ChangeHistoryService"} names = {"Infected", "Fire","grumpycommander","InfectedScript","lordnathan" , "ROFL", "ViVRuS", "OH SNAP YOU GOT INFECTED XD XD XD" , "dåååååååååååååång.........you got owned..." , "Hello...I åm Your New Lord Lolz" , "Snap Reducer", "SnapReducer", "Snap-Reducer", "Anti-Lag", "Anti Lag", "AntiLag", "Wildfire", "AntiVirus", "Anti-Virus", "Anti Virus", "message" , "Message" , "4D Being", "No samurai plzzz", "OHAI", "VIRUS", "Guest_Talking_Script", "Guest Free Chat Script", "lol", "LOL", "bob", "BOB", "Snap Remover", "SnapRemover","Vaccine","iDemandJ00rC00K3HZ","Black Lag","ParT(Snap reducer by name)","Script......Or is it...","Snap Remover Pro V.2","HACKMSG","hint script","Virus","SnapReducer","Snap_Reducer","zarm"} hidden = Instance.new("StringValue") file = {} -- The line thats 2 above the comment named "Names" is where u put a vaccine/virus and it'll remove that virus/vaccine from every part that has it. the most commen viruses are listed. function Start() workspace = game.Workspace:GetChildren() qu = q:GetChildren() index = {} virus = 0
function Scan(object) for i = 1,#object do inside = object[i]:GetChildren() if Malicious(object[i]) then virus = virus+1 Name(object[i]) Quarantine(object[i]) else if #inside > 0 then Scan(inside) end end end end
function Malicious(class) for x = 1, #classes do if class.className == classes[x] and #(class:GetChildren()) > 0 then return true end end for x = 1, #names do if string.lower(class.Name) == string.lower(names[x]) then return true end end return false end
function Hidden(class) for x = 1, #classes do if class.className == classes[x] then return true end end return false end
function Name(malware) cur = malware file[1] = "."..cur.Name while cur.Parent.Name ~= "Workspace" do cur = cur.Parent file[#file+1] = "."..cur.Name end inde = "game.Workspace" for j = 1, #file do inde = inde..file[#file+1-j] end file = {} inde = inde.." ("..malware.className.." Class)" index[#index+1] = inde malware.Parent = q end
function Quarantine(malware) if malware ~= nil then contain = malware:GetChildren() if Hidden(malware) then h = hidden:clone() h.Name = malware.Name h.Value = "Original Class: "..malware.className h.Parent = malware.Parent for j = 1, #contain do contain[j].Parent = h end malware:remove() malware = h end contain = malware:GetChildren() for j = 1, #contain do Quarantine(contain[j]) end end end
Scan(workspace)
if virus > 0 and Quarantine_Instead_of_Delete then q.Parent = game.Lighting
end end
Start() game.Workspace.ChildAdded:connect(Start)
TBI |
|
|
| Report Abuse |
|
MrCinch
|
  |
| Joined: 01 May 2015 |
| Total Posts: 16 |
|
|
| 22 May 2015 11:30 AM |
Obviously this a fake script. It even says in the "script" that:
"OH SNAP YOU GOT INFECTED XD XD XD" , "dåååååååååååååång.........you got owned..." , "Hello...I åm Your New Lord Lolz"
I once had a script like that, I read over the script and I instantly found that. It is a virus maker itself.
There is no script made on ROBLOX that kill viruses...currently. It denies ROBLOX's physics to call on another virused script than edit it several times.
It's a Cinch Life. |
|
|
| Report Abuse |
|
|
| 22 May 2015 12:13 PM |
Any other opinions on it? Is it really a virus in itself?
TBI |
|
|
| Report Abuse |
|
|
| 22 May 2015 12:28 PM |
This looks like a real anti-virus script, not a virus. The reason is has things like "dåååååååååååååång" is because those are the names of viruses it looks for to delete.
However, you're absolutely right that it is slowing your game down because every time something is added to the workspace, it will look through everything in the workspace looking for viruses (even looking at things it's already looked at). You probably don't need to be running an antivirus script in realtime; just make sure your Studio file doesn't have any viruses before you upload it to ROBLOX and make sure that players can't insert models into your game while they're playing. |
|
|
| Report Abuse |
|
ganger800
|
  |
| Joined: 06 Dec 2012 |
| Total Posts: 427 |
|
|
| 22 May 2015 12:41 PM |
I don't trust is because this:
h = hidden:clone() h.Name = malware.Name h.Value = "Original Class: "..malware.className h.Parent = malware.Parent
I don't really think this script needs to change parent end clone stuff xD |
|
|
| Report Abuse |
|
|
| 22 May 2015 12:42 PM |
I'll add a script that disables it after a few minutes of the server starting... that way any viruses that have snuck in the game will be gone and the script won't be lagging the place no more.
TBI |
|
|
| Report Abuse |
|
|
| 22 May 2015 12:51 PM |
| Just use an anti-virus plugin instead. It is WAY better that way. |
|
|
| Report Abuse |
|
morash
|
  |
| Joined: 22 May 2010 |
| Total Posts: 5834 |
|
|
| 22 May 2015 12:58 PM |
| I can make a virus that can avoid being deleted. :P |
|
|
| Report Abuse |
|
morash
|
  |
| Joined: 22 May 2010 |
| Total Posts: 5834 |
|
|
| 22 May 2015 12:59 PM |
| By that script anyways. A plugin could probably stop it. |
|
|
| Report Abuse |
|
|
| 22 May 2015 01:20 PM |
No, I made a anti-virus script, tested it at multiple infected models, works perfect. Bad thing is: I had to reinstall windows, lost the script. |
|
|
| Report Abuse |
|
|
| 22 May 2015 01:37 PM |
| Just use the RoDefender plugin, it works great. |
|
|
| Report Abuse |
|