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

Require() Unable to find module for asset id?

Asked by 5 years ago

Attempting to run a Require() Script as a loader.

But does not insert the Service Script as another asset model (script) and the output shows "Unable to find module for asset id."

require(2672209209)()
wait(1)
script.Parent:Destroy()

(These are short code line, there is nothing more too it.)

What can i do to resolve the Unable to find module for asset id?

2 answers

Log in to vote
0
Answered by
zblox164 531 Moderation Voter
5 years ago

I gave you the answer before. You have extra ().

require(2672209209)
wait(1)
script.Parent:Destroy()
0
I got it to solve, I change the require(ID) to a ModuleScript. S0NIC_Dev 61 — 5y
Ad
Log in to vote
1
Answered by 5 years ago

Make sure that the numbers actually are the script model numbers, after that you make sure that this script is inside of a servermodule. Else it won't work.

0
It is the correct number, And Should it be in just a normal script? S0NIC_Dev 61 — 5y
0
why would it be in a local script Warfaresh0t 414 — 5y
0
Its in a normal script S0NIC_Dev 61 — 5y

Answer this question