Does anyone know how to make a gun which rotates according to the angle of the mouse and shoots laser when the mouse clicks?(in the mouse direction)

I made a basic platform game according to the tutorial. I was thinking of advancing it to a better sort.

Regards,
Tongxn