protected override void StartEffect(IMyCubeBlock block) { IMyCharacter pilot = (block as MyCockpit).Pilot as IMyCharacter; if (pilot == null) { return; } Logger.DebugLog("Killing: " + pilot + ", in " + block.DisplayNameText); pilot.Kill(); }