Skip to content

A library module for storing and retrieving modules

Notifications You must be signed in to change notification settings

LowsPoly/ModuleLoader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

ModuleLoader

A library module for the storage and retrieval of modules by a designated tag, in this instance, "Library". For further reference, see CollectionService. It accepts a single parameter — a string representing the target module’s name.

This module is designed to reduce the process of module loading; rather than specifying the full path manually, you need only provide the module’s name.

Usage

local ServerScriptService = game:GetService("ServerScriptService")
local LoadModule = require(ServerScriptService:FindFirstChild("ModuleLoader")) --// Your path to module

local ExampleClass = LoadModule("ExampleClass")
local myExampleClass = ExampleClass.new()

About

A library module for storing and retrieving modules

Resources

Stars

Watchers

Forks

Releases

No releases published

Languages