Script to make a gun shoot to middle of screen.

I’m kinda a noob with unity and need a script to make a gun fire

Nobody will just give you a script, but we will help you along. Look here, here, here, and here. There is also an FPS tutorial you can follow here, but it is somewhat dated.