I totally do NOT believe you tried. You didn't tell us what you meant, and especially how the trigger is set up. If you mean Gil like in FFORPG, then you do this
Events
A unit owned by (Neutral Hostile) dies
Conditions
Random Integer between (1 and 10) equal to 4
Actions
Create 1 Gold Coins at (Position of (Dying Unit))