You’re trying to assign a value to the result of the GetComponent call. GetComonent is a method so you can’t assign something to it. That method is returning a Text component. You can assign something to the properties of that component, which is what you want to do.