How exactly do I use require?
The script in ServerScriptService has this code in it:
local module = require(2293721179) module.Parent = game.ReplicatedStorage while true do wait(.6) module.heck() end
and my module has this in it:
local module = {} module.heck = function() for i,v in pairs(game:GetDescendants()) do print(v) end end return module
I thought this would work but it keeps giving the error:
unable to find module asset id even though the asset id is correct?? How do I fix this...
Thanks in advance for any help.
Looks like you're trying to use private module inside studio that you don't own. Private modules are ModuleScripts that you can only load on a server, and not in studio, unless you own them.