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

require(<AssetID>) is not working? Drops error?

Asked by 4 years ago

Hello, i have tried require(id) with some plugins and didn't work? Why? Is roblox down or something, models load but plugins not, the plugin has a moduleScript named MainModule and is on-sale, yesterday it was working but after 1 hour it stopped working. I get the error "Unable to find module for asset id" Help would be appreciated!

1 answer

Log in to vote
0
Answered by 4 years ago

Make sure you're using the correct id for it and check to make sure the asset is a module script, nothing else. The module should also be named “MainModule” to require it using an ID. Otherwise, it won't work for plugins. The require function is specific for modules.

0
It uses a correct assetID and is named MainModule. Also, it is onsale, it was working yesterday maumaumaumaumaumua 628 — 4y
0
Try installing the plugin manually and take a look at how the design works. It may be that this plugin may no longer be compatible with the script or that it's been updated iiPizzaCraver 71 — 4y
Ad

Answer this question