I'm so sorry! Here's a hint: it takes exactly 10 railgun shots (R) to take him down
Gah I missed that XD
It was actually an oversight from me, the only reason boss has so much health was because I intended for the railgun to kill the boss in a few hits, but railgun damage was overtuned, so... xD