probem with set value on int.

Hi I have a INT value in one C# file that I wan’t to access from antoher script fine so god.
public class Points : MonoBehaviour {

	public int points;
		
	// Use this for initialization
	void Start () {

	}
	
	// Update is called once per frame
	void Update () {
	
	}
	
	public int Point(){
		
		return points;
	}
}

If set a value on points etc points = 50;
But if I put in a value on in the Inspector then it won’t work, it will still be 50 in the game.

	void OnCollisionEnter (Collision collision) {
				
		print(collision.gameObject);
		print(collision.gameObject.tag);
		if(collision.gameObject.tag == "Jumper"){
			
			collision.gameObject.GetComponent("Points");
			
			Points addpoint = new Points();
			
			addforce = addpoint.points;
			print(addpoint.points);
			rigidbody.AddForce(0 , addforce , 0);
			
			Destroy(collision.gameObject);
		}

new Points() will create a new Points-object, so it will not have the values you set in the editor.

Points addpoint = collision.gameObject.GetComponent(“Points”);