MonkSaru
|
  |
| Joined: 29 May 2010 |
| Total Posts: 166 |
|
|
| 01 May 2014 09:02 PM |
I made a script to get rid of it but it did not work. Whenever i try to run the script the entire game crashes from this "Virus" on my studio. I never put any free models in my place so i have no clue how its even in there to begin with. I open a blank place and the virus shows up, deleting them manually just makes them replicate themselves even more. The Object that holds the script that clones them is called inFECtion and the script contains this code. please how do I remove this its in all my places it makes no sense. I even reinstalled my studio its still there.
if script.Parent.className ~= "RotateP" then local p = Instance.new("RotateP") p.Parent = workspace p.Name = "INfecTION" script.Parent = p end
function check() local list = workspace:GetChildren() for i = 1, #list do if list[i]:findFirstChild("INfecTION") == nil and list[i].className ~= "RotateP" then script.Parent:Clone().Parent = list[i] end wait() end end
while true do check() if workspace:findFirstChild("inFECtion") == nil then local main = script.Parent:Clone() main.Name = "inFECtion" main.Parent = workspace end wait(3) end |
|
|
| Report Abuse |
|
|
128GB
|
  |
| Joined: 17 Apr 2014 |
| Total Posts: 8056 |
|
|
| 01 May 2014 09:24 PM |
| Make a injected free model and I'll make a script that gets rid of it. |
|
|
| Report Abuse |
|
|
MonkSaru
|
  |
| Joined: 29 May 2010 |
| Total Posts: 166 |
|
| |
|
128GB
|
  |
| Joined: 17 Apr 2014 |
| Total Posts: 8056 |
|
|
| 01 May 2014 09:26 PM |
| I meant to say infected, I guess you realized that though. |
|
|
| Report Abuse |
|
|
L0cky2013
|
  |
| Joined: 30 Jul 2012 |
| Total Posts: 1446 |
|
|
| 01 May 2014 09:27 PM |
function clean(loc) for _, v in pairs(loc:GetChildren()) do clean(v) if v and v:IsA("Script") or v:IsA("LocalScript") then v:Destroy() end end end clean(Workspace) --change that to where you are cleaning (recursive) |
|
|
| Report Abuse |
|
|
128GB
|
  |
| Joined: 17 Apr 2014 |
| Total Posts: 8056 |
|
|
| 01 May 2014 09:34 PM |
Cure
GetAll = function(ObjectTable) local All = {} ScanItem = function(Table, Item) for Index, Object in pairs (Item:GetChildren()) do table.insert(Table, Object) ScanItem(All, Object) end end
for Index, Object in pairs (ObjectTable) do table.insert(All, Object) ScanItem(All, Object) end return All end local Q = {} for _, a in pairs (GetAll(Game:GetChildren())) do if a.Name:lower() == string.lower("INfecTION") then table.insert(Q, a) end end
for _, v in pairs (Q) do v:GetChildren()[1].Disabled = true v:GetChildren()[1].Source = "" v:Destroy() end |
|
|
| Report Abuse |
|
|
128GB
|
  |
| Joined: 17 Apr 2014 |
| Total Posts: 8056 |
|
|
| 01 May 2014 09:35 PM |
| Also, mine has to be run in the command bar. |
|
|
| Report Abuse |
|
|
128GB
|
  |
| Joined: 17 Apr 2014 |
| Total Posts: 8056 |
|
|
| 01 May 2014 09:39 PM |
One of his plugins is infected. The infection was spreading even when he opens a new place. He is looking for what plugin it is. |
|
|
| Report Abuse |
|
|
L0cky2013
|
  |
| Joined: 30 Jul 2012 |
| Total Posts: 1446 |
|
|
| 01 May 2014 09:39 PM |
| @128, Over complicating things. And an inefficient way of doing so. |
|
|
| Report Abuse |
|
|
128GB
|
  |
| Joined: 17 Apr 2014 |
| Total Posts: 8056 |
|
|
| 01 May 2014 09:47 PM |
I just kinda threw together something from another script I already had :P Yours would remove every script in the workspace though And also no get rid of the virus (I tried yours) This was the plugin by the way I suggest people report it. http://www.roblox.com/Triangle-Terrain-Plugin-item?id=148286061 |
|
|
| Report Abuse |
|
|