I was wondering if anyone can tell me if the require(assetid)
function only work's if they have the MainModule
part in their inventory, cause I give my friend's a require(assetid)
and it won't load for them but it load's for me.
require(assetid) will work for any item on Roblox, although:
require(In-game module) will work on any modulescript, regardless of name, location or script-type.
In studio, require'ing the assetId will only work if it's in your inventory. To properly test it, it must be run on the server.