How to fusion two lua bytecode compiled by Yueliang (from vLua)?

I want to know how to fusion two lua bytecode that are compiled by Yueliang for my game?

I use this Module: https://create.roblox.com/marketplace/asset/4689019964/vLua-51-improved-VM

1 Like

Could you elaborate on what you mean, examples?

1 Like

I compile a tools script where you gonna find all features and fusion it with compiled main script.
I use vLua’s Loadstring because i can put some security (like unauthorize the DataStore) and imitate the Real System of a Executable.
I have already tell to a AI but it’s too weird.

1 Like

So you’re running code in your game correct within a sandbox? Could you explain what you mean by fusion (sorry just interested as I’m working with vLua too).

1 Like

So it’s like a compiled script where he contains some tools for help and add into the compiled script that gonna to be runned.

1 Like

Show script

1 Like

I haven’t make script. I want just to fusion two compiled script by Yueliang And launch it with no error with FiOne

1 Like

Fusion, you mean like run it? There’s a chance the Lua VM doesn’t actually recognise the Roblox library, e.g parts. You’ll have to index getfenv in the loadstring module:

local loadstring = require(pathtoloadstring)

loadstring(code,getfenv())
2 Likes

like this:

local helloCompiled = Yueliang("local hello = 'Hello World!'") 
local scriptCompiled = Yueliang("print(hello")
FiOne(helloCompiled..scriptCompiled)

But he didn’t work