We use cookies on this site to enhance your user experience

The Dialog object allows users to create non-player characters (NPCs) that players can talk to using a list of choices. The Dialog object can be inserted into a part such as a Humanoid’s head, and then a player will see a speech bubble above the part that they can click on to start a conversation. The creator of a place can choose what choices the player can say by inserting DialogChoice objects into the dialog.


See Also:

  • How to use Dialog
  • Properties

    Name Type Description
    DialogBehaviorType

    Sets whether the Dialog can be used by multiple players at once.

    float

    The furthest distance that I player can be from the Dialog’s parent to start a conversation.

    bool

    Toggles whether the goodbye option will be displayed.

    string

    Sets the sentence that the dialog will show to the player when the chat ends

    bool

    If true, this dialog is being used by at least one player.

    string

    Sets the first sentence that the dialog will show to the player, once a chat is commenced.

    DialogPurpose

    Sets the icon that the initial dialog displays.

    DialogTone

    Sets the color of the NPC’s speech bubble.

    float

    Sets the maximum distance that a dialog can be triggered from.

    Vector3

    Sets the offset of the dialog relative to the dialog’s parent.

    Inherited from Instance

    Archivable ClassName DataCost Name Parent RobloxLocked

    Events

    Name Type Description

    Fired when a player chooses something to say, through a Dialog instance.

    Inherited from Instance

    AncestryChanged Changed ChildAdded ChildRemoved DescendantAdded DescendantRemoving