Making the gun model point to the middle screen

So, I have so far made something where the gun is able to follow the player, and even go in the direction of the player.

However, I am having trouble having the gun point in the player’s camera direction in the y access.

How would I go about doing this? I think I know it requires scripting, which I am ready for.

Here is the game I made just in case you are wondering:
http://awsomisoft.com/WebPlayer.html

Well, I tried that, but now the gun does not even go in the direction of the player anymore.

Here is the code now:

using UnityEngine;

using System.Collections;

public class FollowCamera : MonoBehaviour {

void Update ()
{	
 RaycastHit screenRayInfo;
 Physics.Raycast(Camera.main.ScreenPointToRay(new Vector3(Screen.width/2f, Screen.height/2f, 0)), out screenRayInfo);
 transform.LookAt(screenRayInfo.point);
}

void Start ()
{
	
}

}

Actually, you don’t need the gun to follow the player at all. You can renderer it with an other camera which will render only the gun’s layer, when the main camera, the one that follow your player, will render everything but. The same goes for the players hands, if you want any.

The gun camera mustn’t have an AudioListener, must have it’s clear flags to depth only, and the culling mask to you’re weapon’s layer only.