Define script in one sentence

A script is a written document outlining the dialogue, actions, and directions for a theatrical or cinematic production.

A script is a written set of instructions or commands that tells a computer program or system what to do.