Complex sentence: Killing non-player characters grants gold solely to the player who landed the final blow, whereas killing Heroes grants gold to the killer and any nearby allies, and destroying towers or Roshan gives gold to all players on the team.
Split into simpler sentences: Killing non-player characters grants gold solely to the player who landed the final blow, whereas killing Heroes grants gold to the killer and any nearby allies. Destroying towers or killing Roshan gives gold to all players on the team.