Input.GetAxisRaw ("Mouse ScrollWheel") not working

if (Input.GetAxisRaw(“Mouse ScrollWheel”) > 0f )
{
selectedGuns++;

        if (selectedGuns >= allGuns.Length)
        {
            selectedGuns = 0;
        }

    }

This is my code when i scroll down i expect the gun model to change but it doesnt it doesnt give any exception or error pls help

I think you are looking for Input.mouseScrollDelta

Change selectedGuns when Input.mouseScrollDelta.y is positive or negative.