function GoldHit(keys)
local target = keys.target
local caster = keys.caster
local ability = keys.ability
local ability_level = ability:GetLevel() - 1
local gold = ability:GetLevelSpecialValueFor("GoldGain", ability_level)
keys.caster:ModifyGold(gold, true, 0)
--Start the particle and sound.
keys.target:EmitSound("Звук монеток")
local gold_particle = ParticleManager:CreateParticle("Твой партикл", PATTACH_ABSORIGIN_FOLLOW, keys.target)
ParticleManager:SetParticleControlEnt(gold_particle, 1, keys.caster, PATTACH_POINT_FOLLOW, "attach_hitloc", keys.caster:GetAbsOrigin(), false)
end