Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Modular Lua BundlerNew to Visual Studio Code? Get it now.
Modular Lua Bundler

Modular Lua Bundler

HazeMist

|
1,094 installs
| (0) | Free
A bundler for lua scripts
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

What is the Modular Lua Bundler?

The Modular Lua Bundler is a basic vscode extension that bundles modularly written lua exploit scripts.

Setup

The extension requires a Constructor.lua script.

This script will be responsible for creating a function that can import lua modules aswell as calling functions to actualy run the script.

for example:

local Loaded = {}

import = function(dir)
    local Split = string.split(dir, "/")
    local Data = FileNameHere -- Folder name

    Split[#Split] = string.split(Split[#Split], ".")[1]

    for i = 1 , #Split  do
        Data = Data[Split[i]]
    end

    if not Loaded[dir] and typeof(Data) == "function" then
        Loaded[dir] = Data()
    elseif typeof(Data) == "table" then
        Loaded[dir] = {}
        for i, v in next, Data do
            Loaded[dir][i] = import(dir .. "/" .. i)
        end
    end

    return Loaded[dir]
end

import("Functions/Kill.lua").Run()

Things To Know About The Above Import Function

Note this is only releavnt if you choose to use my import function in your code

The above import function will act in a similar way to the require function with a few differences.
The import can be used to get functions/data from other modules.
The FileNameHere table should be the name of the workspace folder as this is the name the bundler will give the main table

Global functions

if you want to create global functions place:

--main

before the main import function you can then place the global vars above this line

How to use

Press Ctrl + LeftShift + P, Search for Bundle and press enter

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft