If I was to encode lua and then put it into a roblox script would it still run?
there are 2 possible ways i can think of running lua in lua
the first is to use loadstring() which is not so secure
the second is to build an interpereter in lua for lua, not sure how you would go about doing that though
but i dont really understand the question because the grammar is wonky, what exactly do you mean by encode?
There are few options. First: use plugin called "Minify" made by stravant(make sure it's his plugin! There are fake plugins with infections nowadays!) It will rename all variables to random letters+underscores+numbers. Which will not impact your perfomance at all, in fact, it can even improve it. However, it doesn't make it completely unreadable. Just makes it less easy. Another option: script obfuscator. Those are usually paid. Some are faster, some are more secure. But all obfuscators heavily impact perfomance. They are also not free. I'd suggest using either IronBrew (20$, fastest obfuscation available) or Synapse Xen (It's only available if you bought an exploit which is bad and I do not recommend doing that. , very secure, heavily impacts script perfomance). In conclusion I recommend not to use any of these unless you want to make an anti-cheat.