Click the mouse wheel to scope in, then fire with the left mouse button.
The hunting rifle rewards that zoom — it is accurate and hits hard, but the unscoped spread makes it unreliable at range. Scoping also narrows your view, so it is worth practising the transition in and out rather than staying zoomed.
If the wheel click is not registering, check your mouse binding in the options, since some mice map the middle button differently by default.