Unable to find module for asset id

I get this error even after reading similar posts and applying the given fixes, I still get the error and my module is named accordingly “MainModule” but yet I still get that error.

Is it distributed on the creator store?

Yes it is distributed on the creator store

You could just put the actual module into your game and require the actual module instead of using the ID to require it.

Alternativly if you are running it from the command bar, you can just copy paste this code (taken from the module) and paste it into the command bar:

local sys = workspace["Kat's Obby system | V1"]
sys.StarterPlayer.StarterPlayerScripts:GetChildren().Parent = game:GetService("StarterPlayer").StarterPlayerScripts
sys.StarterGui.BannerNotification.Parent = game:GetService("StarterGui")
sys.ServerScriptService.Script.Parent = game:GetService("ServerScriptService")
sys.ReplicatedStorage:GetChildren().Parent = game:GetService("ReplicatedStorage")
sys.Workspace:GetChildren().Parent = workspace
		
if sys == nil then
	warn("Model not found, please insert it in workspace.")
else
	task.wait(.1)
	sys:Destroy()
end
1 Like

I just had given up on the idea of loading assets using module scripts, but thanks anyway for the advice.

1 Like

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