help ive got and error: BCE0043: Unexpected token: int.

i got this annoying error : BCE0043: Unexpected token: int.

heres my script its pretty long since its multiplayer please help.

@script ExecuteInEditMode()


var hitPoints : float;

var deadReplacement : GameObject;

private var time : float = 0.0;

private var alpha : float;

var damageTexture : Texture;

var playsoundsGO : AudioSource;

var hitSound : AudioClip[];

var pw : PhotonView;

var localPlayer : boolean = false;

var dieSound : AudioClip[];

private static int playerKills = 0; 

private static int playerKills = 0;        

public static int PlayerKills {

         set{playerKills = value;}

         get{return playerKills;}
}

function Start(){
	  
	  {            
		    
      }
   }
	function ApplyDamage (localDamage : float) {

        if (hitPoints <= 0.0) return;

         pw.RPC("DamagePlayer", PhotonTargets.All, localDamage);

         }
	
	
	function Update (){
		if (time > 0) time -= Time.deltaTime;
		alpha = time;
	}


	@RPC
	function DamagePlayer (nDamage : float) {
		if (hitPoints <= 0.0) return;
		
		
		if(localPlayer){
		
			if(!playsoundsGO.isPlaying){
				playsoundsGO.clip = hitSound[Random.Range(0, hitSound.length)];
				playsoundsGO.volume = 1.0;
				playsoundsGO.Play();
			}

			time = 2.0;
		}
		
		hitPoints -= nDamage;
		if(hitPoints <= 0.0){ 
			Die();	
		}
	}
	
	function Die () {
		if(localPlayer){
			pw.RPC("DieSound", PhotonTargets.All);
			
			var gm : GameObject = GameObject.FindWithTag("GameManager");
			gm.GetComponent(AU_GameManager).PlayerKilled();
			gm.GetComponent(AU_InGameMenu).PlayerKilled();
			PhotonNetwork.Destroy(gameObject);
		}else{
			Instantiate(deadReplacement, transform.position, transform.rotation);
			
		}
		
	}
	
	@RPC
	function DieSound(){
		PlayAudioClip(dieSound[Random.Range(0, dieSound.Length)], transform.position, 0.8);
	}
	
	function OnGUI () {
		if(localPlayer){
			GUI.Label (Rect(1270, Screen.height - 50,100,30), "<b><size=36>" + hitPoints.ToString("F0") + "  </size></b>");
			GUI.color = Color(1.0, 1.0, 1.0, alpha); //Color (r,g,b,a)
			GUI.DrawTexture(new Rect(0,0,Screen.width, Screen.height), damageTexture);
			GUI.Label (Rect(1270, Screen.height - 50,100,30), "<b><size=36>" + playerKills.ToString("F0") + "  </size></b>");	
		}	
	}

function PlayAudioClip (clip : AudioClip, position : Vector3, volume : float) {
    var go = new GameObject ("One shot audio");
    go.transform.position = position;
    var source : AudioSource = go.AddComponent (AudioSource);
    source.clip = clip;
    source.volume = volume;
	source.pitch = Time.timeScale;
    source.Play ();
    Destroy (go, clip.length);
    return source;
}

For future posts, please include a copy of the error message from the Console. It tells us what line the error is on. In addition please format your code. After pasting in the code, select it and use the 101/010 button. I fixed it for you this time.

As for your problem, you are using C# style variable declarations on lines 24, 26 and 28, and the rest is Javascript/Unityscript. Change to:

private static var playerKills = 0; 
 
private static var playerKills = 0;        
 
public static var PlayerKills : int;