Why dosn't my gun shoot when I aim down the sights?

Try it out for your self you may realize it is an edit of socials template(had my own mouselook script but everyone said it sucked so… I used this cause everyone told me to but that’s besides the point…)
My problem is the gun(mag.44) shoots fine when am not aiming down the sight but for some reason when I do It does not…

Shoot=left mouse
aim down sights= left alt


It looks like that the code stops in the following line

ownAmmo = GameLogic.getCurrentScene().getObjectList()[“OBAmmo”]

and the shoot is created via logic briks.
where is the OBAmmo, is the error message that i get.
mb this helps u.

greets equal


Why won’t it work?!?!?!?!