Original: During this time her agent approached her with the pilot script for the television show Will & Grace.
Simplified: During this time, her agent want to her with the script for the first episode of the television show Will & Grace.