Help obfuscating local scripts

I was wondering how i would go about doing this because im quite sure based on multiple articles exploiters can get their hands on your localscript code through multiple sources so i decided out of all things to use an idea from a backdoor i found but i cant find out how i would go about it

about what the backdoor code was it was the byte code for a require i have tried to replicate this multiple times but i cant figure out how to execute byte codes

if i cant get this to work i plan to make my own table alphabet with a modulescript

Here is what i have been trying to get to work for the past 2 or so hours

\108\111\99\97\108\32\80\97\114\116\32\61\32\73\110\115\116\97\110\99\101\46\110\101\119\40\34\80\97\114\116\34\44\119\111\114\107\115\112\97\99\101\41\10

This is the byte code for

local Part = Instance.new("Part",workspace)

Wondering if this is at all possible

Basic goal is to make it unreadable for exploiters

you see, the Lua compiler expects code to be in a specific syntax, meaning anything that it doesn’t understand is automatically a token error, and so for this reason, you can’t use byte code, or anything really that is “not grammatically correct” to Lua. Plus, you can’t give roblox an executable to run - it has to be plain code.
For these reasons you just have to rely on using devious variable names, methods to make you code difficult to read.

Is there any specific reason why you don’t want exploiters to read client code?

RemoteEvents and just to do it for fun

I mean doing it for fun is one thing, but if you are attempting to hide your remote events from exploiters on the client, you should probably focus on validation on the server instead.

2 Likes