The script you linked only generates adresses.
You can't recover any private keys with any script, since it is a one way function.
KwFAa6AumokBD2dVqQLPou42jHiVsvThY1n25HJ8Ji8REf1wxAQb seems to correlate with 1Ga6WqY53kc14BRqmR4wbwi9zwbtmtiptC (or uncompressed 1LKqSeEt7z1YkeZuTP85cg1B4AdyoNhpdj)
Both of which hold 0 balance and have no transactions?
Note that you shouldn't post your private keys in public, as you're bound to get robbed big time.
My question is how can I recover my private key with this script . Is there any way to check the algorithm and create correct private key from wrong private key that generated?
If you've lost a number of characters from your private key, it's possible to bruteforce, yes, but i don't think that's what you're asking for here, is it?
Thank you for your reply.
This was a sample output from the script . My private key also start with K . Is there any mistake in this script generating pair of keys?
I tested this script 3 times and I was sure that keys are correct , but the tested private keys started with 5 . My key now started with K .