I remember seeing something that scripts can sort of have what they want in them as long as it’s not shown to the client or doing anything against TOS. I was just wondering because you should only be able to see them if you’re exploiting but it’s still technically shown to the client?
Even to exploiters, comments aren’t shown.
The exploits don’t actually see the raw code, so they can’t see comments, variable names, formatting, etc. They just see general things like v1 = ...
, v2
etc.
So feel free to put whatever you want in comments(as long as you don’t end up sharing the code on the marketplace)!
Luau code is compiled to bytecode. That bytecode is then run on the client. When a developer publishes their experience and a client starts downloading the scripts and their code, they only get this compiled bytecode. Compiled bytecode does not contain stuff like variable names and comments. So when this code is decompiled back to Luau, comments and variable names will not exist.
Thanks, I never knew this is how it worked.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.