|
Into my place, and the update that came with it was HUGE... it's called PlaceFix, every time I delete it, a new one comes... So there's one under workspace, under Players, under Teams, under Starterpack... HALP!!!!!!
It makes my place shutdown right when I get there. |
|
|
Go into edit mode and remove the virus script that way. |
|
|
Look, I'm not a total idoit. Somehow even when I delete it in edit mode, it replaces it with a new one. That's why I came here. I need a script that deletes it. |
|
hunta11Join Date: 2009-03-13 Post Count: 6393 |
Just use oysi ro cleaner model. |
|
|
I deleted the model.... It's still in workspace. |
|
Shobobo99Join Date: 2008-12-30 Post Count: 5754 |
Use the command bar? But how is it possible that in edit mode, while the game is paused, it wont go away after deleting. |
|
KrammyJoin Date: 2008-06-29 Post Count: 3599 |
virusname = "PlaceFix"
function findandremove(model)
local p = model:children()
for i = 1, #p do
if p[i].Name == virusname then
p[i]:Remove()
end
findandremove(model)
end
end
findandremove(workspace)
findandremove(game.Lighting)
--etc... |
|
gijsbel11Join Date: 2009-02-07 Post Count: 4223 |
or better,shorter,epicer :P =
VIRUSNAME = "HAHA"
repeat game.workspace:FindFirstChild("VIRUSNAME"):Remove()
until game.workspace:FindFirstChild("VIRUSNAME") == nil |
|
KrammyJoin Date: 2008-06-29 Post Count: 3599 |
Problems with the above script:
1. No wait.
2. Doesn't look in every model.
3. Only looks in workspace. |
|
bloob827Join Date: 2010-08-01 Post Count: 6867 |
Just reset your place to an earlier version. |
|
|
NAME = "the virus name" -- THE ONLY THING TO CHANGE
repeat game:findFirstChild(NAME, true):remove()
until game:findFirstChild(NAME, true) == nil
haha >:D |
|
KrammyJoin Date: 2008-06-29 Post Count: 3599 |
Still doesn't look in everything. Only game. :P |
|
|
Isn't game everything? there is no parent of game, so I don't know where else, unless there's a way to access nil... And scripts don't run in nil, do they? |
|
bloob827Join Date: 2010-08-01 Post Count: 6867 |
If it's a lag virus he probably couldn't get in.
WELLFORLIKEAMINUTE!
Reseting your place to an earlier version is probably the most efficient way :U |
|
|
Here's a good way to get rid of viruses :
save your place and quit the place.
Open it back up... DONT RUN THE PLACE FOR ANY REASON AT THE WORLD YET.
Search everywhere the script that it's giving you problems, and deleted it. Once you are sure there is no more trace of the script anywhere, you're done. You can run the place now.
:P
Next time don't use free models, ordon't run the place when inserting one so you can check for viruses. |
|
AgentFirefoxTop 100 PosterJoin Date: 2008-06-20 Post Count: 22404 |
local Loser = "PlaceFix"
repeat wait() local Doomed = game:FindFirstChild(Loser, true) and game:FindFirstChild(Loser, true):remove() until not game:FindFirstChild(Loser, true) |
|