Killing other players by touching them

hello
i am working on a multiplayer fisrt person tag game, where the hunter kill the other by touching them (actually would be better if the hunter kills if the player clicks on the mouse while is touching other players but first thing first)

well the problem is i am failing in killing the other players

for now i try 2 methods:

function OnControllerColliderHit ( quem : ControllerColliderHit) {

var nome = "";
nome = quem.gameObject.name;

//soldier=gameObject.GetComponent("CharacterController");	 

if (nome == "soldier(Clone)" ) {
	//if ( Input.GetMouseButtonDown(0)){
		
   		Network.Destroy(soldier);
	//}
}

}

this one like i said was supposed to kill the other player (spldier) when he is touched by the hunter.

function OnTriggerEnter( quem : Collider) {

var nome = "";
nome = quem.gameObject.name;

if (nome == "soldier(Clone)" ) {
	//if ( Input.GetMouseButtonDown(0)){
		Network.Destroy(soldier);
	//}
}

}

and this one where i created a cylinder object and put it on the hunter prefab as a trigger, when the soldier gets in the thrigger he shoud die.

both of the methods are not working can someone help me on this one?

I think you want Destroy() not Network.Destroy(), but it’s hard to be certain as I can’t see where soldier is defined.

yo

thanks for your reply

here is the situation

hunter and prey (soldier) are both playable characters, each one with a character controler on their prefabs.

since the game is a multiplayer they both are instantiate in the scene with network.instantiate, at the current situation server is the hunter and client the prey.

thats why im using Network.Destroy on the soldier because thats when the client dies.

also like i said both prefabs have a character controler on them so i believe the soldier should have no problems with the collider or with colisions.