local ReplicatedStorage = game:GetService("ReplicatedStorage") local Remotes = Instance.new("Folder") Remotes.Name = "RC7_Remotes" Remotes.Parent = ReplicatedStorage
return MyModule
-- GlobalRequire (placed where legacy code can access it) _G.requireLegacy = function(path) -- path could be string like "ServerScriptService.MyModule" local obj = game for part in string.gmatch(path, "[^.]+") do obj = obj[part] if not obj then error("Module not found: "..path) end end return require(obj) end