Use Lua obfuscators to make your client scripts unreadable. Even if someone dumps the file, they will see a mess of random characters. The Ethical Bottom Line
White-hat developers use dumpers to see what information their server is "leaking" to clients, helping them tighten security. server dumper fivem free
Most high-quality servers use "Escrow" or obfuscation. A dumper will only give you the compiled/encrypted code, which is unreadable and useless for editing. How to Protect Your Server from Being Dumped Use Lua obfuscators to make your client scripts unreadable