Simplest way is to make reference to score script in enemy script and change scoreValue before Destroy() dunction, also you not need "static" int