Rotation problem (421607)

I am making FPS game, in this when ever I am firing at the hit point I am pasting one sprite to show the damage.
So I need to rotate the sprite w.r.t player, so I am taking player rotation but the value which is given by the script is different form the value showing in inspector view. Script showing “0” when the player is in “90” rotation(showing in inspector view).

How can I paste the sprite with exact rotation w.r.t player.

Use transform.LookAt in a script on the sprite to keep it pointing at the player:-

transform.LookAt(player.transform);