Add ammo to currentAmmo variable in a different script

I have a script that deals with firing arrows, starting at 10, and preventing further fire after all 10 arrows have been fired.

using UnityEngine;
using System.Collections;
public class RangedSystem : MonoBehaviour {

public Rigidbody arrow ;
public float power = 1500f ;
public float moveSpeed = 6f ;

public int maxAmmo = 10;
public int currentAmmo = 10; //this should be zero but the start function doesnt work so ill leave ti as 10 for now

void start ()
{
	//currentAmmo = maxAmmo; //set current ammo to 10 at the start of the game, but right now it doesnt work
}

void Update () 

{

	if (currentAmmo > 0) {

		if (Input.GetButtonUp ("Fire1")) 
	
	{

			Rigidbody instance = Instantiate (arrow, transform.position,
				                     transform.rotation) as Rigidbody; 

			Vector3 fwd = transform.TransformDirection (Vector3.forward);
			instance.AddForce (fwd * power);

			currentAmmo--;

		Debug.Log (currentAmmo);

	}
			
}

}

I also have an collectable item that i want to restore available arrows to 10 when collected (and destroyed).

public class AmmoCollect : MonoBehaviour {

void OnTriggerEnter (Collider other)
{
	if (other.gameObject.CompareTag("ammo"))
		{
		Destroy(other.gameObject);
		//set currentAmmo to 10
		}
}

}

Is there a way that i can change the currentAmmo variable in the first script from the second script when the item is collected?

P.S yes i know this has been asked many time before but non of the other solutions work and may be outdated.

First: void Start () with capital S

If your AmmoCollect script is attached on the same gameobject as your RangedSystem script, then:

 void OnTriggerEnter (Collider other)
 {
     if (other.gameObject.CompareTag("ammo"))
         {
         Destroy(other.gameObject);
         gameobject.GetComponent<RangedSystem>().currentAmmo += 10;            
         }
 }

Create a new class.

public class Globals
{
       public static int currentAmmo = 10;
}
//No need to attach this class to any gameobject

Now, wherever you want to use the currentAmmo, just write:

Globals.currentAmmo = 10;
or Globals.currentAmmo–;