The shooting programming does not work at all. The code is completely wrong, it is incomplete - the fact that you put up the tutorial and following your own code that you can't shoot is kind of a fail. Also, it is not a problem with your computer. It is the source of incomplete code, completely assigned wrong, to begin with. Don't blame your computer for not being able to program properly