Error that I can't find

I’ve had this problem in some hours now and I don’t know what to do when I’m unable to find the script itself and it won’t take me to the script when I press on the error.

This is the error I got
Bilde_2021-06-25_121553

It says
Model.MainModule.Log
Line 5

But I can’t even find it, I’ve been looking on the server side and client side and still can’t find it

First of all, are you the main script developer for this project? If not, speak to them first as the fact you have discord integration suggest you have a more in-depth framework for the project.

If not, use the Explorer window’s Search feature to look for “script” - that will highlight all scripts currently in the place.

If nothing relative shows up, try pressing Ctrl+Shift+F to search all scripts for “MainModule”
If its required by a script it should show up.

If nothing still shows up, you may have a script that is requiring an external resource at run time.
You could do a search for “require”, but it might be easier to just run your game in Studio and repeat the above steps on both the client and server side.

Have you inserted any toolbox models that may have inserted this module?

If there isn’t anything appearing that goes alongside “MainModule” when using Ctrl+Shift+F as WingItMan had suggested I recommend looking for any “require” or “getfenv” functions with it, it could be an inserted model that is creating those errors which might be the cause of it being impossible to find without running the game/studio.

I’ve removed the lines with “getfenv” that I don need but they just keeps coming back.

–[[ Last synced 6/25/2021 01:38 RoSync Loader ]] getfenv()string.reverse("\101\114\105\117\113\101\114") --[[ ]]–

I have no idea what’s that for

Ah, that’s a virus. Make sure to remove any free models and make sure all your plugins too. The people making these viruses use different methods and the biggest sign is “101\114\105\117\113\101\114”

This should solve the problem with that at least.

Things to search out for:
require
getfenv
il1

Again to do this use Ctrl+Shift+F and search for it, afterwards check your plugins & Delete any free models or scan their scripts

1 Like

I’ve not added any free models but I looked in my plugins and disabled everything and now it won’t paste the code anymore.
Thanks for the help!

No problem, if you want to you can check each individual plugin’s owner (Obviously the plugin owner being a new player would be extremely sketchy) to determine who it’s appearing from you can go into Roblox Studio>plugins>Manage Plugins. Once determined you can go & Delete + Report it!

This was the plugin that was doing it and it says script injection allowedBilde_2021-06-25_142402
I’ve already reported it

1 Like