Stop shipping plaintext. FiveSecured encrypts, obfuscates, and licenses your Lua resources so customers run your work without ever holding your source.
I don't know much about how the fxap and the encryption works however; I'm pretty sure if the client is locked, the map is not going to load correctly since it has a loading sequence and variables to use.
what about "Error loading script index.js in resource Framework_bot: TypeError [CLIENT_MISSING_INTENTS]: Valid intents must be provided for the Client."