Skip to content

Latest commit

 

History

History
executable file
·
53 lines (33 loc) · 1.6 KB

README.md

File metadata and controls

executable file
·
53 lines (33 loc) · 1.6 KB

OpenSB

An opensource scriptbuilder for Roblox.

Notice

By default this depends on https://luau-compile-mapk.shuttle.app.rs/ (running this).

Which is being used to compile Luau sourcecode into bytecode (only for localscripts). As there is no good solution for compiling Luau in Luau at the moment (that is small & lightweight).
As a bonus using an full Luau compiler allows us to generate bytecode with optimizations turned on.

This is being used in compile.luau, and I encourage you to change it to using your own hosted version (it's free with shuttle).

Getting Started

You will need to install aftman first to get the required tools, or you can manually install them yourself (found in the aftman.toml file).

After you have installed aftman, run:

aftman install

Building & testing

To build the place from scratch, use:

npm run dev && rojo build -o "OpenSB.rbxlx"

Next, open OpenSB.rbxlx in Roblox Studio and start the Rojo server:

rojo serve

Then when you want to test your changes, use:

npm run dev

(The --watch flag on darklua would've worked if the modules folder was in src, but doing that would process a duplicate of the modules folder)

To build the "production" version, use:

npm run build

For more help, check out the Rojo and darklua documentation.