|
| 03 Sep 2016 08:24 PM |
So I don't know why but when requiring a module from script builder it's not working.
"Requested module experienced an error while loading" or something like that...
I named it MainModule and saved it and all, I have worked with modules for quite a bit now. It seems as if my old modules that haven't been edited seem to work when requiring but the new modules I just made get the error. I believe this is a ROBLOX issue but I am not sure. |
|
|
| Report Abuse |
|
|
| |
|
Tynezz
|
  |
| Joined: 28 Apr 2014 |
| Total Posts: 4945 |
|
|
| 03 Sep 2016 08:53 PM |
make sure the module returns something
send me trades |
|
|
| Report Abuse |
|
|
|
| 03 Sep 2016 08:57 PM |
| Yes, it does. So I had required an old module I hadn't touched in a while and it worked but as soon as I updated it without changes it didn't work, and yes, I did name the Module(s) "MainModule" |
|
|
| Report Abuse |
|
|
|
| 03 Sep 2016 09:26 PM |
A couple reasons maybe
1- Modules don't work when you 'Play solo' in studio 2- your module could be moderated (happened to me)
to check if it's moderated, see if you can insert into your place if you can, its something else that is wrong |
|
|
| Report Abuse |
|
|
|
| 03 Sep 2016 09:29 PM |
| Lie I said before, I am requiring it from script builder and I am pretty sure it's not moderated. |
|
|
| Report Abuse |
|
|
|
| 03 Sep 2016 09:40 PM |
| Don't think you can require them from other people's games, I could be wrong though. |
|
|
| Report Abuse |
|
|
| |
|
L2000
|
  |
| Joined: 03 Apr 2008 |
| Total Posts: 77448 |
|
|
| 03 Sep 2016 09:41 PM |
Based on the output, there's no problem with requiring it, the problem is once its required something's wrong and the script's erroring.
Check that there's no other output with it that would be causing the module to have an error
If you're seeing this post, it means I'm either dead (leaving behind a very fsauabulous looking corpse) or my soul has been captured by pixies! |
|
|
| Report Abuse |
|
|
|
| 03 Sep 2016 09:43 PM |
| Like I said before.... :l, I have required it before from sb and it works, asking other people to require it and it works, but when updating the old script without changing it doesn't work, I've tested it multiple times. |
|
|
| Report Abuse |
|
|
| |
|