Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

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

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

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.

2 comments

0

It uses a correct assetID and is named MainModule. Also, it is onsale, it was working yesterday

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

This discussion is preserved as it was. New answers, comments, and votes are closed.