[Closed]Raycasting problems

I need to make an explosion like in bomberman, so I decided to raycast in the 4 directions, but for some reason it’s not working, well it’s working but it’s not, it’s weird.

So I tried various debugs, various things and I can give you some info about it:

The raycast is finding objects;

Messages are not being sent;

Player tag wasn’t identified;

Here’s my code: (js)

#pragma strict

var fire : float = 1;
var timer : float = 3.3;
var damage : int = 1;

function Update ()
{
	Debug.DrawRay(transform.position,Vector3.forward * fire,Color.red);
	Debug.DrawRay(transform.position,Vector3.back * fire,Color.red);
	Debug.DrawRay(transform.position,Vector3.left * fire,Color.red);
	Debug.DrawRay(transform.position,Vector3.right * fire,Color.red);
	
	timer -= Time.deltaTime * 1;
	if (timer <= 0)
	{
		var Front : RaycastHit;
		var Back : RaycastHit;
		var Left : RaycastHit;
		var Right : RaycastHit;
		
		if(Physics.Raycast(transform.position, Vector3.forward * fire, Front))
		{
			Debug.Log("Found Someting");
			Front.transform.SendMessage("ApplyDamage", damage, SendMessageOptions.DontRequireReceiver);
		}
		if(Physics.Raycast(transform.position, Vector3.back * fire, Back))
		{
			Debug.Log("Found Someting");
			Back.transform.SendMessage("ApplyDamage", damage, SendMessageOptions.DontRequireReceiver);
		}
		if(Physics.Raycast(transform.position, Vector3.left * fire, Left))
		{
			Debug.Log("Found Someting");
			Left.transform.SendMessage("ApplyDamage", damage, SendMessageOptions.DontRequireReceiver);
		}
		if(Physics.Raycast(transform.position, Vector3.right * fire, Right))
		{
			Debug.Log("Found Someting");
			Right.transform.SendMessage("ApplyDamage", damage, SendMessageOptions.DontRequireReceiver);		
		}
		
		Destroy(gameObject);
	}
}

so, Debug.Log (“Found Something”) is working, it always finds 4 objects so it’s working, “Destroy(Front.transform.gameObject);” is also working, the first objects find in the way are being destroyed (including player), “collider.SendMessage(“Damaged”, damage, SendMessageOptions.DontRequireReceiver);” isn’t working as far as I know, I sent message to a brick block, brick block script is like this:

#pragma strict

function ApplyDamage (damage : int)
{
	Debug.Log ("Received");
	Destroy (gameObject);
}

And I tried to remove the other Destroy and it stills not debugs the message receive.
Thanks in advance.

Update: Player is correclty receiving the message now and I edited the script on the post, but bricks aren’t receiving it -.-

Solved it, I have no Idea how tough…