Please post code using code tags , not screenshots. As JeffD said, it would also be a good idea to provide your actual test output.
Are the weapons assigned to your player prefab assets, or are they actual objects instantiated in your scene? (One of them has “prefab” in the object name.) Unity magic methods like Awake aren’t going to be called on prefabs because they aren’t actually present in your game.