I have a perfectly functioning module script, and a corresponding script to call functions from that script. The name of it is MainModule, and I have uploaded it to my account. In the normal script, when I refer to the module as in the game (when I have it in the game), everything works fine; however when I try to require the module through it's asset ID, it doesn't work. I have everything possible to be correct! It is called MainModule uploaded to my account, the asset ID is correct, functions are good, but the script still doesn't recognize the asset ID. Are there any possibilities for this?

3 comments

0

Are you returning a function or a table?

0

Table of functions, I don't think it even matters; when I published it as a new model later, it worked! What could cause this?

0

Correction, it actually didn't.