|
| 21 Apr 2012 08:27 AM |
I don't usually plea for help like this, but this is a very big problem.
In my Personal Building Server, and exploiter entered and inserted a BodyGyro virus, which gave every brick in-game two BodyGyro objects.
So I have two options I know of to fix this:
1: Go through each one of 6K+ bricks and remove the BodyGyro objects, which a rather not do as you can imagine it'd take forever.
2: Delete everyone's hard work and revert to a safe, clean version. Which I also rather not do, as a lot of players took pride in their work.
So here is the question: Is there some script that can remove all BodyGyro objects in a game, even if the bricks are in models?
Please, I'd really like to know, and if possible even get the script from someone.
I really hate asking for this, and I do know that this isn't a request forum, but I have no where else to turn. |
|
|
| Report Abuse |
|
|
|
| 21 Apr 2012 08:31 AM |
| I was thinking you could do it with destroy, then I remembered that BodyGyro was an object put in a brick, not a brick itself. I guess you could TRY using remove() or :destroy()... |
|
|
| Report Abuse |
|
|
myr8
|
  |
| Joined: 10 Apr 2012 |
| Total Posts: 100 |
|
| |
|
| |
|
iPremiumZ
|
  |
| Joined: 23 Jan 2012 |
| Total Posts: 6834 |
|
|
| 21 Apr 2012 08:51 AM |
@ mikey, not brofist u nob
-brohoof-
Be a brony |
|
|
| Report Abuse |
|
|
Spectrial
|
  |
| Joined: 15 Mar 2012 |
| Total Posts: 3348 |
|
|
| 21 Apr 2012 12:08 PM |
Yeah. There is one. Download an antivirus script. Find the classname in the script, then edit one of the strings to say BodyGyro.
If the BodyGryos that have infected your bricks have names edit a stringvalue in the names section to match that.
If not, just change a value to BodyGyro.
Always works for me when i'm doing the "big jobs" |
|
|
| Report Abuse |
|
|
KingBoo
|
  |
| Joined: 16 Jul 2007 |
| Total Posts: 8495 |
|
|
| 21 Apr 2012 12:21 PM |
function Rec(x) for i,v in pairs(x:GetChildren()) do Rec(v) if v:IsA("BodyGyro") then v:Destroy() end end end
Rec(workspace)
--Done! |
|
|
| Report Abuse |
|
|