Context Word: script. 
Question: PersonX had been working on his script for years and refused to get any other job, much to PersonY's dismay. _ was determined to succeed. 
Answer: PersonX
PersonX had been working on his script for years and refused to get any other job, much to PersonY's dismay. _ was worried and upset.