I don't think you will able to find a direct script like LocalBitcoins or Paxful. I am not a tech guy but most likely they customize peer to peer exchange script. I believe that script would find easily or you may ask on the forum
service section to buy such as script or you may take a look at marketplace like Fiverr. Instead of Localbitcoin & Paxful, I would like to suggest follow
LocalCryptos. They are more advanced and popular as well. Perhaps you may gain market easily in your country when you will provide non-custodial wallet service on your exchange. Anyway, best wishes for your platform.