';' Expected, Tried everything. How do I do this?

UCE0001 ‘;’. Insert a semicolon at the end.

JavaScript

var OnTriggerEnter(Collider) {
AddScore(int) {
SumScore.Add(_int);
}
}

You need to start the line with function not var.

From the documentation here is an example:

// Destroy everything that enters the trigger

function OnTriggerEnter (other : Collider) {
    Destroy(other.gameObject);
}