Chosen Solution

So I’ve recently resurected a broken macbook, replaced new parts and it was fully working, although the hard drive had the old mac os x and bunch of files that weren’t mine, so I decided to delete it all via disk utility ant reinstall a new mac os from usb. I made a bootable usb through transmac but the computer won’t recognize it while booting while holding option button.. The recovery menu offers to install Lion mac os, but it fails with message “This item is temporarily unavailable. Please try again later” or smth like that and I’m stuck with no mac os x.. I have another macbook laptop, which has tiger 10.4 operating system and I can’t make a bootable usb with that old mac because it doesn’t support most of the programs, could someone help? by the way, when going into recovery menu, Safari glitches and apple website with “el capitan” update won’t open, If I press “upgrade now” it simply wont ant website just crashes.. how could I install a mac os to that laptop? thanks

It was my mistake, don’t know why but the usb got recognised when I installed ISO mac os x instead of dmg file, now it recognised it and I succesfuly installed it.