You can write your topic however you want, but you need to answer these questions:
- What do you want to achieve? Keep it simple and clear!
To make a getgenv recreation in vLua Roblox
- What is the issue? Include screenshots / videos if possible!
getfenv()[index] = value doesnt work
- What solutions have you tried so far? Did you look for solutions on the Developer Hub?
Just getfenv()[index] = value and the same with _ENV
After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
i know it works in base Roblox LuaU but idk why it dont work in vLua
Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.
Additional info: ¿Why? I have this game called Kernel on Roblox to test out a loadstring with extra functions; A direct inspiration is GRH-Fake_Exploit
I found a solution: I basically just put every single global variable into env in vLua, and put getgenv to give out the env. Turns out it allows the env to be modified the same way as getfenv()[index] = value;