LuX is BrickBit’s scripting environment. Existing
.lua and .luau scripts and the Bridge API remain supported.
Hosted scripts run in BrickBit's game environment.
Everything on this page is the server surface, which runs on the host. Scripts that run in the game client — on bricks, and client scripts — use a different API: see the Client API. The two do not share names, so a script written against one will not work in the other.
Every newly created game now publishes a default starter bundle containing a baseplate and spawnpoint, so new games start from a valid playable map instead of an empty unpublished state.