Hello,
You probably mean compileLibX265.
From you error message, script cannot download X265, but I checked it right now and this resource available.
Let me know if you are interested in my offer, then I will check the work of the script today or tomorrow.
Thank you for attention!