I actually pretty much figured it out, just get the Luastate or make a new one and use the game's own loadstring function to execute things, for Roblox just execute things using their Deserializer function and a Luau Compiler such as the one from GitHub which is literally 1:1 with Roblox's.Yep would also like to know more about this maybe by replying here somone with knowledge will answer.
I learned by practicing and looking at source codes and also getting help from other devs, what you could do is look at the Lua source to find functions such as loadstring.ye i already saw when your post was 5 months old, that you maybe already finished. any links or tutorials you would recommend for your old past : )
for example " own loadstring function to execute things, " where would i need to search for to find the loadstring function.
You can just call it with a function pointer and observe if it worksView attachment 443514
so normal hooking, then maybe playing a bit the game and looking what get called. just the nrmal thing, right?
I meant the Lua source on the site which helped a lot on getting an understanding and sources from GitHub such as old Roblox Executors ( old since that's when Roblox wasn't as different as it now is because of Luau ) or games with Lua such as prison architect@NotALegitGuy it would be nice if you could give me the source code of the ones you were using as a reference, i cannot find public sources with lua.
you said:
" I learned by practicing and looking at source codes and also getting help from other devs, what you could do is look at the Lua source to find functions such as loadstring. "
Hook gettop or make a new one if you don't care about game specific functions.i need help in how to get luastate
We use cookies to personalize content and ads, to provide social media features and to analyse our traffic. We also share necessary information with our advertising and analytics partners to optimize your experience on our site.
Learn more about cookies
We use cookies to personalize content and ads, to provide social media features and to analyse our traffic. We also share necessary information with our advertising and analytics partners to optimize your experience on our site.
Learn more about cookies