generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Big BodyGyro Problem, Please Help

Previous Thread :: Next Thread 
ninjasheep is not online. ninjasheep
Joined: 26 Apr 2008
Total Posts: 11934
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
mikeyman10ash is not online. mikeyman10ash
Joined: 29 Aug 2010
Total Posts: 30299
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 is not online. myr8
Joined: 10 Apr 2012
Total Posts: 100
21 Apr 2012 08:44 AM
[ Content Deleted ]
Report Abuse
mikeyman10ash is not online. mikeyman10ash
Joined: 29 Aug 2010
Total Posts: 30299
21 Apr 2012 08:51 AM
@myr8

-brofist-
Report Abuse
iPremiumZ is not online. 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 is not online. 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 is not online. 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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image