Complex sentence: When his body becomes infected with nanomachines he manages to manipulate them into creating static electricity, allowing him able to focus the electricity into the barrel of Hades, turning it into a railgun.
Split into simpler sentences: When his body becomes infected with nanomachines he manages to manipulate them into creating static electricity. This allows him able to focus the electricity into the barrel of Hades, turning it into a railgun.