ModuleScript Not Downloading

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve?

I want to require my module script that was uploaded to roblox as a modal.

  1. What is the issue?

It gives this error: Downloading asset failed for asset id 12128939144. Is the asset id correct and is the asset type “Model”?

  1. What solutions have you tried so far?

I tried to look but did not find any solutions/ Dev form posts that help me.
After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!

local robloxSettings = require(script.Settings)
local module = require(12128939144)

module:setup(robloxSettings)

Make sure the module is public, and that the instance is called MainModule.

it is but i still get the error

You said it was a Model, ungroup it or upload the ModuleScript seperately.

Its a ModuleScript. I uploaded it to roblox by right clicking and pressing save to roblox.

Then a couple of things:

  • Is your game Published?
    Sometimes Modules dont work with unpublished games

  • Is the Module Public?
    You need your Module to be On Sale for it to work

  • Is your ModuleScript named exactly MainModule?
    This is a common Issue, sometimes people misspelled or forgot to name it

  • Are you using the Correct AssetId?
    Make sure you are attempting to Download the Correct Item

Thank you. I had to publish it.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.