One person was killed and four injured after a gunman fired inside a gym and then went to his apartment and shot from his balcony.