Categories > Exploiting > Roblox >

What is the easiest "way of execution" for scripts for a beginner to c++ (lbi, bc, proto)

TERIHAX

i say im gay as a joke 🙀

Posts: 2195

Threads: 102

Joined: Jul, 2020

Reputation: 30

Posted

title

 

what would be the simplest, proto cov seems easy for me but i still dont understand anything even after reading from this: GitHub - the0d3v/LoukaPDF: @loukamb's PDFs about Bytecode Conversion, Proto Conversion and OVM

 

or could wrapper be easier

 

im prob getting really annoying now

  • 0

Posts: 5

Threads: 1

Joined: Apr, 2023

Reputation: 0

Replied

Im not an expert so i might be wrong and if i am please correct me but try starting with simply compiling your scripts using Roblox's open source luau compiler and then loading the bytecode using luau_load or LuaVM::Load ( need to compress it first with this one ) and finally executing it using task defer.

 

Here's the luau repo 

https://github.com/Roblox/luau

Comments

TERIHAX 30 Reputation

Commented

bc im a ret ard that knows nothing, i dont even know how to use it (ik the repo but i didnt know about what to do with it)

 

do i follow this, i found this from the readme, and is this limited to linux or mac only?: 

 

Installation

You can install and run Luau by downloading the compiled binaries from a recent release; note that luau and luau-analyze binaries from the archives will need to be added to PATH or copied to a directory like /usr/local/bin on Linux/macOS.

Alternatively, you can use one of the packaged distributions (note that these are not maintained by Luau development team):

After installing, you will want to validate the installation was successful by running the test case here.

  • 0

MeForgotPasswrd 0 Reputation

Commented

That's to compile the whole source and experiment with it, what you want are the Ast, Common and Compiler Folders for the Luau Compiler, i recommend looking at sources like Maven or SimpleExecutor as they are easy to understand and should give you a better idea of it.

  • 0

TERIHAX 30 Reputation

Commented

@MeForgotPasswrd simpleexecutor?

  • 0

MeForgotPasswrd 0 Reputation

Commented

  • 1

TERIHAX 30 Reputation

Commented

  • 0

  • 0

ecstacy_lxnny

fka as delta

vip

Posts: 947

Threads: 85

Joined: May, 2021

Reputation: 95

Replied

ngl you should just make a software that creates a lua state and then create an executor for that first

Comments

TERIHAX 30 Reputation

Commented

i have no idea how to, as i said, im retarded

  • 0

ecstacy_lxnny 95 Reputation

Commented

https://www.youtube.com/watch?v=xrLQ0OXfjaI&list=PLLwK93hM93Z3nhfJyRRWGRXHaXgNX0Itk

  • 0

TERIHAX 30 Reputation

Commented

@Delta tysm i feel ashamed to know nothing

  • 0

  • 0

fka as delta

Posts: 1474

Threads: 95

Joined: Oct, 2019

Reputation: 93

Replied

@mcdonaghethan I Think It's Called Bytecode Compiler Is What People Like To Call It Lol,

Anyways @TERIHAX I Don't Think You'll Get Stuff Like LBI, Wrapper, Proto Etc Done Anytime Soon Since They Require More Knowledge On Roblox + Byfron And Inlining Is Still An Issue But Uwp Client Ftw, Anyways For Basic Execution You Could Always Include Luau In A Project Use The Compiler To Compile A Script And Use The Bytecode On The LuaVM::Load Address From Roblox After Compressing Using Zstd Then Use TaskDefer To Essentially Spawn It But This Is Only Basic You Can't Make Custom Functions Cause You'll Need To Being Recreating Stuff Like Pushcclosure, Newcclosure, SetField And Get Closure Offsets And A Bunch Others To Make That Working Without Figuring Out Shuffles And Stuff.

Comments

TERIHAX 30 Reputation

Commented

that sounds like it would destroy my brain so i think ill learn more cpp for now

  • 0

  • 0

Users viewing this thread:

( Members: 0, Guests: 2, Total: 2 )