I recently had my game exploited by a popular YouTuber, in which he used a script with a require() string in it. I want to prevent this from happening again, so what’s the best and reliable way to stop these kinds of exploits?
Is there a way to check and destroy all scripts in the game with the require() string in it?
Usually require() exploits are linked to server sided backdoors in your game. Check all the scripts you have to make sure none of them have any suspicious code, also check your installed plugins.
If it was in your own scripts, it means a plugin added it in with script.Source, I suggest checking all plugins you have installed and also searching for more stuff under a similar name in case it was placed in more than one place
That Model Reflect one looks suspicious. Are you sure it’s the correct one? Because I don’t remember that plugin requiring Script Injection permission to work.
I’m pretty sure it is the right one.
One time, for some reason, it didn’t work without script injection.
But this time I turned off script injection, and restarted Studio, then used the plugin. It seems like at one point somebody may have infected the plugin and injected some code which allows for exploits. As of now, it doesn’t require you to have script injection on, so I turned it off.