KillicideJoin Date: 2010-05-08 Post Count: 13715 |
So I am building and I'm about 25 min in and I just realized the brick I've been duplicating to build this whole thing has an infection.
Anyone know a command I can run to quickly delete them all?
~Signatures are so mainstream.~ |
|
|
Whats the name of the infection and where is the brick located. |
|
KillicideJoin Date: 2010-05-08 Post Count: 13715 |
http://gyazo.com/23f6f22b2573b144654bba3044aa90f4
It's in all the bricks outside of the building kit, I haven't saved the game yet so I am asking how to terminate it before I do save.
~Signatures are so mainstream.~ |
|
LaedereJoin Date: 2013-06-17 Post Count: 23630 |
don't use free models |
|
|
Nice build, you used build v4, I use that alot too,here:
for i,v in pairs(game.Workspace:getChildren()) do
if v:findFirstChild("INfecTION") then
v:Destroy()
print("found you scum")
end
end
run that in command bar |
|
|
As a newcomer, I was surprised to find that Roblox allows developers to upload content with this type of unwanted behavior. At the very least, it overburdens their backend servers...in addition to presenting what I think is an untrustworthy website.
I used free models because I'm learning...but I got infected. I don't care as my site is trash anyways but it seems the best course of action is to simply start over and reintroduce your items until you find your culprit. Long term site avoidance seems needed, which is counterproductive to Roblox's economy which helps keeps the lights on in the company. |
|
quickeyeJoin Date: 2012-06-10 Post Count: 192 |
enter in command bar
repeat workspace:findFirstChild("the name here of infection", true):remove() until workspace:findFirstChild("the name here of infection", true) == nil |
|
|
I've used script removal scripts but they don't appear to be permanently removed. The other problem is most people susceptible to these attacks don't know enough to know what the infection type is. |
|
128GBJoin Date: 2014-04-17 Post Count: 8056 |
@Quik
That won't work, this infection chooses random capital letters for its name
function clean(c)
local r = {}
for _, v in pairs (c:GetChildren()) do
if v.Name:lower() == "infection" then
table.insert(r, v)
end
clean(v)
end
return r
end
for _, v in pairs (clean(Game)) do
local s = v:GetChildren()[1]
s.Archivable = false
s.Source = ""
s.Disabled = true
s:Destroy()
end
Run this in the command bar |
|
|
128GB, will this have to be run every time or will this clean them up permanently? |
|
LaedereJoin Date: 2013-06-17 Post Count: 23630 |
the infection scripts should just chose a random name with numbers in it |
|
|
I LOVE infection scripts (sarcasm). they make you lag so much
|
|
|
This works permanently
function clean(c)
local r = {}
for _, v in pairs (c:GetChildren()) do
if v.Name:lower() == "infection" then
table.insert(r, v)
end
clean(v)
end
return r
end
for _, v in pairs (clean(Game)) do
local s = v:GetChildren()[1]
s.Archivable = true
s.Disabled = false
s:Clone().Parent = s
end |
|
128GBJoin Date: 2014-04-17 Post Count: 8056 |
for _, v in pairs (clean(Game)) do
local s = v:GetChildren()[1]
s.Archivable = false
s.Source = ""
s.Disabled = true
s:Destroy()
v:Destroy()
end
* |
|
|
Well, some of these things know how to hide and replicate. In my project anyway I have to run this every time...they never seem to disappear. I know some of the online scripts expand beyond just the word "infection" so I'm sure that's why.
There's a Virus Slayer script I've used that does the trick, but it has to remain in my project. Still, it seems easier to just start over unless I'm missing something. |
|
128GBJoin Date: 2014-04-17 Post Count: 8056 |
'128GB, will this have to be run every time or will this clean them up permanently?'
Once and gone forever |
|
|
I've got something in my workspace that is spawning a new script every time....so the little bugger is still in here somewhere.
Wouldn't it be great if we had a quote function? |
|
128GBJoin Date: 2014-04-17 Post Count: 8056 |
If you want to unlock your place I can take a look and make an anti virus for you |
|
smiley599Join Date: 2010-01-23 Post Count: 21869 |
USE RECURSION omg |
|
128GBJoin Date: 2014-04-17 Post Count: 8056 |
@Smile
I did... |
|
|
Spawn(wait);game.Workspace:FindFirstChild("Infection");game.Workspace.Infection:Destroy()
Works, even rekts them when they are inside parts |
|
|
128, my place is unlocked if you want to grab a copy and take a look. I get the GuestScript stuff appearing in Workspace. |
|
|
I'm guessing this came from one of these "giver" script modules I tried early on. |
|
128GBJoin Date: 2014-04-17 Post Count: 8056 |
Run in command bar
local r = {}
function clean(c)
for _, v in pairs (c:GetChildren()) do
if v.Name == "Guest_Talking_Script" then
table.insert(r, v)
end
clean(v)
end
return r
end
for _, v in pairs (clean(Game)) do
v.Source = ""
v.Archivable = false
v.Disabled = true
v:ClearAllChildren()
v:Destroy()
end |
|
smiley599Join Date: 2010-01-23 Post Count: 21869 |
the guest talking script looked suspicious |
|