|
blockooJoin Date: 2007-11-08 Post Count: 17202 |
My advice, build you're own stuff and use free models as little as possible. As for the time being, your place is pretty much screwed over unless you can find a legit anti-virus script. |
|
miz656Join Date: 2010-07-19 Post Count: 15336 |
for i,v in pairs(game.Workspace:GetChildren()) do
if v:IsA("Script") and v.Name == "Hunger" then
v:Destroy()
end
end
|
|
|
|
Studio > Right-click on the script > Cut
?
† KMXD † |
|
miz656Join Date: 2010-07-19 Post Count: 15336 |
1) Run my script
2) Go to configure place and go to the version where it didn't have that script.
|
|
miz656Join Date: 2010-07-19 Post Count: 15336 |
@knightmare
I think she already tried that :P |
|
|
miz656Join Date: 2010-07-19 Post Count: 15336 |
-_-
Run my script!!!! Jeez... |
|
|
|
Miz's script basically looks through workspace, and if a child of workspace is a script, with the name of "Hunger", it will destroy it.
† KMXD † |
|
miz656Join Date: 2010-07-19 Post Count: 15336 |
My script
for i,v in pairs(game.Workspace:GetChildren()) do--Goes through everything in Workspace.
if v:IsA("Script") and v.Name == "Hunger" then--If it finds a script and it's name is Hunger then...
v:Destroy()--It removes it.
end--End for if statement.
end--End for for loop.
Hmm?
|
|
|
miz656Join Date: 2010-07-19 Post Count: 15336 |
We're trying to help you. This script should work. You're probably not running it... |
|
DXPowerJoin Date: 2008-10-21 Post Count: 2866 |
function removeScript(object)
if object.Name == "Hunger" or "Spread" or "Anti-Virus" or "Anti-Lag" then --Just a double check :D
object:Destroy()
print("Virus Found and Removed")
end
end
function findChildren(object)
for i, v in ipairs(object:GetChildren()) do
local c = v:GetChildren()
if #c > 0 then
findChildren(object)
end
if v.Name == "Hunger" or "Spread" or "Anti-Virus" or "Anti-Lag" then
removeScript(object)
end
end
end
findChildren(workspace)
The above should work except for some syntax errors I may have made, since I made this right on the spot. What it does is first go into Workspace, get its children, then check if any of them have the name "Hunger" or any of the other ones I listed, and then removes it, and if the object has children, it gives it to the function to be checked.
All hail the Power of DX! |
|
miz656Join Date: 2010-07-19 Post Count: 15336 |
@DXPower
Little too much work...:P |
|
|
DXPowerJoin Date: 2008-10-21 Post Count: 2866 |
@miz
No, it's not a little too much work, considering that he needs help getting rid of a virus and I am bored and need to do something scripting wise.
All hail the Power of DX! |
|
miz656Join Date: 2010-07-19 Post Count: 15336 |
@DXPower
There are many ways to shorten that script...
@OP
Well, does it remove when you run it? |
|
DXPowerJoin Date: 2008-10-21 Post Count: 2866 |
@miz
I know that it can be shortened, I just am so bored I wanted to elaborate.
All hail the Power of DX! |
|
|
DXPowerJoin Date: 2008-10-21 Post Count: 2866 |
Well, first, just open a new script, copy my code into with Ctrl + C and Ctrl + V, then press the "Play" button at the top OR Disable the script and then Enable it.
All hail the Power of DX! |
|
miz656Join Date: 2010-07-19 Post Count: 15336 |
@Posten
Fine, just quit. If you have 2 minutes just quit. |
|
Sasuto10Join Date: 2010-05-05 Post Count: 183 |
knowign that you tried to remove the script wiht the simple vut thing, yet it stays, means it has an un removable thingy, so just disable it, then delete it. if it spreads, i would consider using one of the other peoples scripts that are posted here. to disable scripts just click on it oce and the in the propaerties tmenu find "disable" and check the box. |
|
miz656Join Date: 2010-07-19 Post Count: 15336 |
Why do cruel people make these kind of things... |
|