on death:
victim is a player
attacker is a player
execute console command "eco give %attacker% 5000"
send action bar to %attacker% "<##A8A8A8>You have been given <##08FB09>10k <##A8A8A8>for killing <##D13030>%victim%"
( I have already tried doing attacker instead of %attacker% and victim instead of %victim% but its still the same error. )