Adding function for shooting to prevent multiple shots.