This isn't really asking for help with a script, but I'm just kinda curious. I've found myself messing around with a lot of free models and looking at their scripts, and whenever i look at ai scripts, a lot of the time it's written in one long line of code. I tried searching the internet for an answer to this, but that came to no avail. I just wanna get an answer from an experienced lua programmer, so that i can know for future preference. Thanks
✓ ANSWER ACCEPTED
how come most ai scripts are written in one long line of code?
1 answer
✓ Accepted answer
Usually, this is done for one of two reasons:
- They want to make it harder for others to read their code and figure out how it works. They write the code normally, then they pass it through a minifier that compacts it down into one line to make it harder to read. This can help against skids, that modify the code and then try to pass off the model as their own.
- They are hiding something malicious and don't want people to find it. Backdoors and other bad stuff. I would avoid free models in general if at all possible.
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
Make sure to always check the author of that free model to see if they are trustworthy.
thanks i was just curious