I have already bought a NE054 with a 24V / 4.2A circular transformer, the main circuits are LM317 with a transistor.
I decided to improve it, I gave it a very large heat sink and when the power supply is working it is only warm to the touch, I changed the diodes, resistors and capacitors to stronger ones.
My problem is that first I changed TIP127 to BDW 94 then gave it up
BD250 (I changed to a stronger one because I had a shortage, i.e. I had 28V after overload)
The power supply worked very well until a 12V drill driver was connected to it (BD250 he also got damaged). I would like to ask you to indicate how I should look for the strongest replacements because I need one in an indifferently large housing as long as it can withstand the treatment, and the other in a TO 220 housing. Or maybe someone already knows, I would like to write it, and I will only check where the base of the emitter and collector is.
I also have a question: if I give the same intensity to a weaker transistor, and then to a stronger transistor, they will emit the same amount of heat or less of a stronger one.
Thank you for any help.
Scheme:

I decided to improve it, I gave it a very large heat sink and when the power supply is working it is only warm to the touch, I changed the diodes, resistors and capacitors to stronger ones.
My problem is that first I changed TIP127 to BDW 94 then gave it up
BD250 (I changed to a stronger one because I had a shortage, i.e. I had 28V after overload)
The power supply worked very well until a 12V drill driver was connected to it (BD250 he also got damaged). I would like to ask you to indicate how I should look for the strongest replacements because I need one in an indifferently large housing as long as it can withstand the treatment, and the other in a TO 220 housing. Or maybe someone already knows, I would like to write it, and I will only check where the base of the emitter and collector is.
I also have a question: if I give the same intensity to a weaker transistor, and then to a stronger transistor, they will emit the same amount of heat or less of a stronger one.
Thank you for any help.
Scheme:
