Luau

Let other mods compile and run sandboxed Luau scripts

A library mod that lets other mods compile and run sandboxed Luau scripts. Native Luau libraries are bundled inside the mod JAR, so no native code is downloaded at runtime.

Features

  • Strict type checking and compilation of in-memory Luau source files.
  • Isolated, persistent ScriptInstances with explicit lifecycle management.
  • Controlled source and host modules, including a sandboxed require.
  • Safe conversion between Java values and Luau values.
  • Limits for execution time, interrupt checks, VM memory, and host calls.
  • Source breakpoints, stepping, pause, resume, and termination support.

Third-party notices

This project embeds and distributes the Luau implementation. Luau is distributed under the MIT License and is based on the Lua 5.x implementation, which is also distributed under the MIT License.

The Luau Team

HighCrafter tier frameprofile avatar
Owner
HighCrafter tier icon
  • 16
    Followers
  • 5
    Projects
  • 8.3M
    Downloads

More from LeawindView all