loop 4 times panobot

When i remove: shots = shots + 1; it works, but of course it will not stop after 4 times.