Adding scores/numbers?

Hi, im a beginner at unity scripting. I have a script in javascript with a line

static var MyScoreCounter : int = 10;

then i have another script in Csharp script with a "Die" function. How do i add score to the first javascript when the Die function is called in the csharp script? Thanks!

Assuming the javascript file is in an earlier compilation pass folder (if not, put it in a folder called Plugins in the project hierachy, make it if you need to), just use

YourJavascriptFileName.MyScoreCounter += 1;