[v1.6.3] Luau Sandboxer
A sandboxer that can help protect your game when running user-provided code.
Features
- Sandbox scripts (provided the first line of code calls the sandbox - read here)
- Sandbox functions
- Customize allowed Instances in the
InstanceList - Customize the sandbox environment (in Studio and at runtime)
- Disallow certain classes of Instances from being instantiated with
Instance.newandInstance.fromExisting - Hooking metamethods on Instances
Let me know if there is a specific feature you are looking for that the module does not currently offer! Any and all feedback is greatly appreciated.
Side note - if you're looking to load a chunk without using the native loadstring function and sandbox it, use something like vLua or vLuau instead. This involves compiling the chunk to bytecode and executing it in a VM, which is not supported by this module