
When the Sheriff is eliminated in a regular MM2 round, the gun drops. Any surviving Innocent can walk over and collect it. To win the round for the Innocents as the Hero, the new holder has to shoot the Murderer.
Where the dropped gun goes
Look where the Sheriff went down. The gun can also drop after the Sheriff mistakenly shoots an Innocent. Check whether the item is still on the ground. If another Innocent already claimed it, there is nothing left to retrieve at that spot.
Source: MM2 Wiki · Sheriff, Roblox Wiki · Murder Mystery 2 roles
What counts as a Hero win
Equip the gun after picking it up and identify the Murderer before taking the shot. Seeing a crowd around the fallen Sheriff tells you less than seeing which player had the knife. Collecting the gun gives you a chance to win the round for the Innocents. Landing the shot on the Murderer finishes the job.
Source: MM2 Wiki · Sheriff, Roblox Wiki · Murder Mystery 2 roles
Sources
Interfaces and rules can change. Check the official pages above for current requirements.