Here's my revival trigger.
Very basic, very simple.
This only works for non-enemy units.
Revive
Events
Unit - A unit Dies
Conditions
((Dying unit) is A Hero) Equal to True
Actions
Wait 15.00 seconds
Hero - Instantly revive (Dying unit) at (Center of Hero Spawn And Respawn <gen>), Show revival graphics
"Center of hero Spawn And Respawn" - Region where the heroes will respawn.
More advanced one with gold loss. (Currently you lose all gold, not 5% -_-)
Hero Revival
Events
Unit - A unit Dies
Conditions
(Owner of (Dying unit)) Not equal to Player 12 (Brown)
((Dying unit) is A Hero) Equal to True
Actions
Set goldlost = (1 / 20)
Player - Set (Owner of (Triggering unit)) Current gold to (((Owner of (Triggering unit)) Current gold) x goldlost)
Wait 30.00 seconds
Hero - Instantly revive (Dying unit) at (Center of Fountains and Shop <gen>), Hide revival graphics