You have Heavy who goes out like a baller uttering the lines “i dont” after hearing a droid ask if they take prisoners and practically saves kimino
You have hardcase who says “live to fight another day” before blowing himself up to destroy an entire separatist supply ship so the republic can win the siege of umbara
You have the absolutely LEGENDARY “FOR THE REPUBLIC” last stand of commander fox going out like a legend surrounded by battle droids
You have Baze taking out dark trooper after dark trooper and slowly being taken down till one dark trooper drops a bomb and kills him
You have scorn who practically bodies an inquisitor (albeit temporarily) but saves an ex-sith lord, Darth maul, and cops a lightsaber in the chest
The only character i can think of that actually gets out of this pattern is wrecker though bad batch also has a habit of breaking certain other rules like with the “if there is no body there is no death” (those who know know)
Personally i think this should be a new fandom rule for star wars which is “the heavy weapons guy will always go out like a legend.