Compiling Your Lua Script

Using luajit you will compile your .lua file into a bytecode formatted .ljbc file

  1. Download the archive and extract it

https://mega.nz/file/JpFAhYjb#35AbAx8sGdmVAI3o-EVHtGA_-Y1WqReo7WWUWHOdYo4

  1. Copy the script you want to compile into the extracted folder

  2. Open command prompt, navigate to that folder

After you successful extraction, type the following command:

luajit.exe -b yourscript.lua newscript.ljbc

replace "yourscript.lua", with the name of your lua, and replace "newscript.ljbc" with the desired name of your new file.

Last updated