Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Unable to find module for asset id? [SOLVED]

Asked by
Xuxiym 15
8 years ago

Today is just not my day... I have been trying to require a model I created on ROBLOX which does have a ModuleScript in there called MainModule but it gives me this error when trying to grab the model, not sure if I need a separate model for the ModuleScript or not, but it's in a folder with 1 GUI and 1 regular script.

16:22:50.633 - Unable to find module for asset id

[EDIT]: I ended up fixing my problem with Unable to find module for asset id by just putting everything else into the MainModule.

1 answer

Log in to vote
3
Answered by 8 years ago

Unfortunately, this most likely means you can't get that script.

See, scripts have a LinkedSource, and it can either be Embedded, or they can have an Asset ID that the script links to (Ex `http://www.roblox.com/asset/?id=1234567)

If the Asset has been removed by the creator, the Asset ID will still show, but when you open the script, you will see this error

Unable to load script. If the script uses LinkedSource, the LinkedSource may have been removed or changed In this case, you can't get the script to open unless you ask the Asset creator to bring it back.

If my explanation is different from what you're getting, please comment so I can help you further

0
Well it's set to Embedded, but is there anyway to be able to require the model or no? Xuxiym 15 — 8y
0
Are you using require(AssetID)(script, NAME)? User#9949 0 — 8y
0
I have a model that is a folder, which 1 script, 1 modulescript and 1 gui, I named the modulescript MainModule and left the rest as default, this is the code I am using to require the model. require(295245171) Xuxiym 15 — 8y
0
Could ti be because you made the model 13 minute ago and Roblox still needs to verify it is legal? That happened with shirts, you can't wear them until Roblox verifies it User#9949 0 — 8y
View all comments (3 more)
0
ROBLOX has to verify models too? Well, I will wait and see. Xuxiym 15 — 8y
0
So far been 30 minutes and still not working. :/ Xuxiym 15 — 8y
0
If I may come into the conversation. :P @Turtletowerz How is your code set up, exactly? Does the 'MainModule' being called return a Value (or anything) at all, or is the Module(s) (that is being called) not Named 'MainModule'? TheeDeathCaster 2368 — 8y
Ad

Answer this question