IRyan70
|
  |
| Joined: 08 Jun 2011 |
| Total Posts: 484 |
|
|
| 02 Jul 2015 07:41 PM |
Someone decided to hack my server, every part has a particle emitter with an anonymous face. I need to run a piece of code in my command bar in studio to remove the "ParticleEmitter" class from every part in my game. Pretty much a big loop, can someone help me?
Thanks for hacking my game..I bet it got you far. |
|
|
| Report Abuse |
|
|
|
| 02 Jul 2015 07:42 PM |
| Back up into versions. That's my only solution. |
|
|
| Report Abuse |
|
|
|
| 02 Jul 2015 07:43 PM |
for i,v in pairs(game.Players:GetChildren("ParticleEmitter")) do v:destroy() end
?? |
|
|
| Report Abuse |
|
|
|
| 02 Jul 2015 07:43 PM |
CORRECTED SCRIPT*
for i,v in pairs(game.Workspace:GetChildren("ParticleEmitter")) do v:destroy() end
?? |
|
|
| Report Abuse |
|
|
|
| 02 Jul 2015 07:44 PM |
Might I suggest the use of my plugin if you plan on using Free Models: http://www.roblox.com/FoxFire-Defender-item?id=263828366
Additionally, here is the code to remove all ParticleEmitters from Workspace:
function g(o) for _, v in pairs(o:GetChildren()) do if v:IsA("ParticleEmitter") then v:Destroy() else g(v) end end end g(workspace) |
|
|
| Report Abuse |
|
|
IRyan70
|
  |
| Joined: 08 Jun 2011 |
| Total Posts: 484 |
|
|
| 02 Jul 2015 07:46 PM |
| Actually, its a personal server, I made everything myself. Some kid probably got mad I wouldn't have given him tools (cause they beg for tools?) and then it started injecting particle emitters with the white faces on the emitter, and in a skybox. Traced the image id back to a player...that was banned. Im not sure how they even do this because roblox is supposed to be "safe"... |
|
|
| Report Abuse |
|
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 02 Jul 2015 07:47 PM |
USE FE
"Talk is cheap. Show me the code." - Linus Torvalds |
|
|
| Report Abuse |
|
|
IRyan70
|
  |
| Joined: 08 Jun 2011 |
| Total Posts: 484 |
|
|
| 02 Jul 2015 07:48 PM |
What is FE?
Now with the fox defender, its a plugin. if I install it, will it run during my personal server? |
|
|
| Report Abuse |
|
|
|
| 02 Jul 2015 07:49 PM |
Sadly, I don't believe plugins work in personal servers. Only in Edit/Solo. I can't test it since I don't have a personal server.
However, this gives me an idea on how to expand my plugin. :) |
|
|
| Report Abuse |
|
|