Make sure you have followed the linked guides below before this one as you will not be able to follow this guide with out these changes first.

Copy the video below in the BP_MasterRangeWeapon in the Actions collapsed node.

Next go to the BP_M1982 and in its class defaults search for AllowReloadCancel and tick it on then compile and save.