Complex sentence: His design for the level was initially rejected by the leads, due to technical complexities, but Alavi stayed after hours and worked 18-hour days for three weeks to secretly script the rejected level.
Split into simpler sentences: His design for the level was initially rejected by the leads, due to technical complexities. But Alavi stayed after hours and worked 18-hour days for three weeks to secretly script the rejected level.