So i want to make a gun and i want it to have so when your in first person and you look up, the gun moves up like the mad games when you have a knife it moves the direction you move.

Is there something you can help me with instead of giving me scripts cause I'm kinda new with scripting well not "new" but kinda bad with it.