This is the most skipped step. For the proxy to work, you must patch the Android OS itself to trust Lucky Patcher’s signatures.
Due to its nature, Lucky Patcher is not hosted on the Google Play Store. Downloading the tool or related configuration files from unverified third-party websites exposes your device to severe malware, adware, and data-harvesting trojans.
What is the you are trying to modify?