Loader

A Roblox Luau lazy-library loader with built-in libraries and functions.


Getting Started
Reference


View the Project on GitHub Mullets-Gavin/Loader

Getting Started

So you want to use Loader, but don’t know where to begin. Or you do know where to begin, and that’s why you’re here. Whatever the case may be, I am delighted to inform you that it is extremely easy to install.

Installation

You can install Loader with three methods, though it is recommended that if you want a stable release, install Loader via the rbxm model located in the releases. The quickest route is via Deliver, a command-line interface in Studio.

Method 1, Deliver:

--install Loader game.ReplicatedStorage

Method 2, Model:

Method 3, Filesystem:

Method 4, Filesystem for Roblox-TS:

Hierarchy

Loader should be installed in the following hierarchy:

ReplicatedStorage
└─ Loader
   ├─ DataSync
   ├─ Interface
   ├─ Manager
   ├─ Network
   ├─ Roblox
   └─ index.d.ts* - only for Roblox-TS

Initialize

Initialize Loader by requiring the module located in ReplicatedStorage. Paste this to each new script you make to stay consistent:

local require = require(game:GetService("ReplicatedStorage"):WaitForChild("Loader"))

It’s recommended to set Loader as a require replacement since it works the same, with added perks of diagnosing problems.

More

Learn more about Loader & it’s API in the Reference page.