Text is a type - otherwise this line would not compile:
public Text scoreText;
So this line:
scoreText.text = Text;
Tries to set a value but
has not been declared as a variable anywhere in scope. Hence, the closest it can come is to find a class called
and rightly complain about it.
I'm sure that isn't your whole code, and I'm sure you have some string you do want to assign - but we can't tell you what to type as we have no access to the rest of your code! (Or indeed, any idea what you are trying to do...)