Hello! I was wondering if there was a way to disable any type of explosions that occurred in my game with a script. Any ideas?
There is no method to disable explosions entirely. You should be able to edit any scripts that creates an explosion and either comment out the code, or put the code behind an togglable setting.
You can use ctrl+shift+f to search all scripts in the place for “Explosion”
Just don’t do this in any of your scripts / locascripts: local explosion = Instance.new("Explosion")
and you should be good!
Out of curiosity, why is it that you want to disable explosions in your game manually? If your code isn’t creating any explosions anywhere in your code, then that should be sufficient enough because you know explosions won’t be created, right? It sounds like extra work when, if your code doesn’t use explosions, then you already have them naturally disabled.
It seems like some exploits are able to make explosions in-game, I have a flight simulation game where I have 50-100 people in one plane at the same time, It’s a great attraction for exploiters and on one of the flights the plane blew up for no reason it seemed to be a type of exploit that allowed for this. There are no scripts in the plane that would cause an explosion, nor on the area where the explosion started, there are no scripts there either, the only thing there was where the explosion was a couple of players sitting down in their seats
Filtering enabled will only allow the exploiter too see the explosion that they make on their machine, other clients won’t be able to see it.
Somebody needs to correct me if i’m wrong / something that I said is not right though.
Nope, what you said is correct. On the other hand though, explosions have a place in the physics pipeline, so I do believe a client with network ownership over an assembly can destroy it on their end with a explosion and it will replicate. If the plane doesn’t have its ownership explicitly set, exploiters realistically would be able to blow it up.
If network ownership isn’t the problem and the actual explosion is just replicating, then there’s an open vector somewhere that exploiters are taking advantage of to make the explosion show up in the game at all and that needs to be addressed ASAP since it won’t just stop at explosions.
Thanks for the advice, I’ll look into other explosions in the game