You've got tunnel vision my friend. That is the only way I can explain this response you just made. The guy was literally walking around an entire section of Walmart with this gun that was obviously not in it's appropriate packaging...he was holding it in various positions which were NOT reflective of someone who was just ready to buy it...
Here's the video in case you haven't watched it...
New Video Shows John Crawford Fatally Shot By Police In Walmart
...a term you should familiarize yourself with is "brandishing". This is something he was doing clearly in this video...which for most common people would cause alarm or at the very least make them curious what he was doing.
Now you've asked me to predict the future by answering if I thought the cops would shoot me or talk to me first...it's impossible for me to answer that question...they very well may shoot me on site if I was doing the same thing, or they may talk me down. I wouldn't ever be in that situation myself, so I won't ever be able to answer your question, and you can't either, though you like to imply that because I'm white, something different would happen (which is another reason why I stopped the earlier discussion we were having...and why I feel this one will be short lived as well).
It would be impossible for a LEO to assess what kind of rifle that is in the time it takes to have someone (who is already brandishing the gun) to turn on you and start firing, leaving you dead. Police have to make significant decisions in limited time periods under stressful conditions...they made a choice to shoot him...and you feel it was because he was black, he wasn't afforded "time" to explain the situation or deescalate the scenario...and that a white person would probably experience a different scenario. That's ignorance man...pure, narrow minded, bigoted ignorance.