Each unit gives a different score when it dies, all of those scores are listed in Arsenal III which you can get here:
http://www.staredit.net/index.php?download=2753Now, simply create this trigger for every unit that you may kill (there are only 84 units and 66 buildings in Starcraft, most of them you probably won't use so the amount of triggers will be small):
---
Player:
The ones who gets point for kills
Condition:
Foes death score is exactly X
Action:
The things that hapen when the unit with X as death score dies.
---
Remember to add hyper triggers.
There's no other way if you want a different effect for every unit.
Also note that if you have unit that have splash attack and might kill more than 1 unit exactly at the same time this might be bugged.