I have tried making a new module, and yet it still does not work. It does work if I make the module free, but I don’t want it to be grabbed by everyone. I own the module, yet I cannot require it.
Why don’t you just copy the code of the Module and paste it into a moduleScript instance in the game? Then you require that instance. Modules don’t have to be on the website.
It is. Whether modules are public or not, they have to be named MainModule to be able to be required with their assetId from the website. Why it’s not requiring is beyond me. I would say something like “requiring assetIds doesn’t work from Roblox Studio” but I haven’t tested to confirm this and OP owns the module.
It must be a problem with your module. When I tried to require it in my two games using the asset id from your code, it gave me the same error as yours each time.
Make sure the module is named MainModule and that it’s indeed a ModuleScript.
I wanted to load the module from multiple games without having to change it every time. For others interested, you can require it by doing the following: