Write a short play about Harry Potter and an annoying house elf who is constantly interrupting Harry Potter and his friends and making silly but funny corrections of what they are saying and doing.
Title: "Mischief Managed: A Play with Harry Potter and Dobby the Elf"

(The stage is set in the Gryffindor common room. Harry, Ron, and Hermione are sitting on the sofa, deep in conversation.)

Harry: (to Ron and Hermione) So, I was thinking we could ask Professor Dumbledore for help.

Dobby: (interrupting) Excuse me, Mr. Harry Potter sir, but Professor Dumbledore is no longer the Headmaster of Hogwarts.

Ron: (exasperated) Dobby, we know that!

Dobby: (excitedly) Oh! Then I must have some more important information to share!

Hermione: (sighs) What is it now, Dobby?

Dobby: (grinning) Professor McGonagall is the new Headmistress of Hogwarts, not Professor Flitwick!

Harry: (smiling) Thank you, Dobby.

(The scene changes to Harry and Ron practicing spells in the courtyard.)

Ron: (concentrating) Wingardium Leviosa!

Dobby: (jumping in front of Ron) Excuse me, Mr. Ron Weasley sir, but the spell is actually "Wingardium Leviosaaah!" (makes a silly noise).

Ron: (rolling his eyes) Thanks, Dobby.

(The scene changes to Hermione studying in the library.)

Hermione: (to herself) Now, let's see... (flips through pages) Ah, here it is! "The spell for summoning objects is Accio."

Dobby: (popping up behind Hermione) Excuse me, Miss Hermione Granger ma'am, but the spell is actually "Aaah-key-oh!" (does a funny dance).

Hermione: (laughing) Thank you, Dobby. You're always so full of surprises.

(The scene ends with Harry, Ron, and Hermione shaking their heads, smiling, and continuing with their tasks, while Dobby skips offstage, still making silly noises and interruptions.)

(The End)