//max time for bullet to stay active
 void FixedUpdate()
 {
     time++;
     if (time > 100)
     {
         fpc.BulletGone();
         Destroy(gameObject);
     }
 }