The properly formatted dialogue for a play is:
OLIVIA: “Like under your bed.”
RYAN: “Or in a closet.”
STEPHEN: “Oh, Mitch, aren’t you embarrassed that you hate storms when Storm is your own last name?”
This format includes character names in all capital letters followed by a colon, and the spoken dialogue is in quotation marks.