Code help pls

hi, im having some problems with my code

using UnityEngine.UI;
using UnityEngine;

public class Score : MonoBehaviour
{
public Text ScoreText;
move.Points

// Update is called once per frame
void Update()
{
ScoreText.text = Points;
}
}

i am getting this error:
Assets\Score.cs(11,5): error CS1519: Invalid token ‘void’ in class, struct, or interface member declaration

i just started coding, and im stuck on this problem

The line move.Points has bad syntax in C#. If you remove it it should compile and declare a variable for Points, it should compile. Or I assume you want to have access to a Move class somewhere, so you would need to declare it as a variable.

Also, UnityEngine.UI.Text is not in the UI Toolkit but in ugui. You should try this forum if you have more questions: Unity Engine - Unity Discussions

super cool, thanks for your swift reply! thanks for the link, ill check it out