How Do You Know When Your Screenplay Doesn't Work?

Everyone wants to write a script that is well received but that is not always the case. How can you tell when your screenplay is not being received as you intended?