Get a varible from another script

What is wrong with my script. I am trying to access a variable called “score” in a scrip called “score and gui”. Here is the script. Thanks in advanced

function Start (){
Debug.Log(points.score);
}

function Update (){
var points : score and gui = GetComponent(score and gui);
}

Here is the script called “score and gui”

var score : int = 0;


function Start (){
}

Do NOT use spaces when you name Scripts!
Remove those spaces by renaming that script, then remove the spaces from ‘score and gui’ also make sure that Case Matches too.