MrDialogue v1.0.0 | Build complete and modular branching dialogues with conditions, actions, custom UIs and more

MrDialogue is a complete, modular, and easy-to-use open-source dialogue system for Roblox.

Build anything from simple NPC interactions to complex branching conversations with conditions, actions, speakers, emotions, and a ready-to-use interface β€” while keeping full control over how each part of the system works.

:books: Documentation β€’ :laptop: GitHub β€’ :toolbox: Creator Store β€’ :page_facing_up: Portfolio Page


:clapper_board: Showcase

A short example of MrDialogue running in Roblox Studio using the bundled interface.


:sparkles: Features

  • :puzzle_piece: Graph-based conversations
    Build branching dialogue using line, choice, branch, action, and end nodes. Paths can split, merge, skip steps, and react to game state.

  • :rocket: Ready to use
    Get started quickly with a complete dialogue runtime and bundled interface without having to build the surrounding systems yourself.

  • :brick: Modular by design
    Use MrDialogue as-is or customize individual parts of the system as your project grows.

  • :gear: Conditions & actions
    Control dialogue paths with your own game logic and trigger quests, rewards, progression, or other actions directly from conversations.

  • :speaking_head: Speakers & emotions
    Define reusable speakers, portraits, and emotion-specific presentation data.

  • :desktop_computer: Bundled UI
    Includes typewriter text, animated choices, speaker portraits, RichText support, and mouse, keyboard, touch, and gamepad input.

  • :artist_palette: Custom UI support
    Customize the bundled interface, provide your own ScreenGui, or replace the presentation layer entirely with a custom adapter.

  • :shield: Server-authoritative runtime
    Dialogue state, conditions, actions, and choice validation are handled by the server.

  • :package: Typed & validated
    Built with strict Luau types and validates dialogue definitions before sessions start.

  • :bust_in_silhouette: Per-player sessions
    Each player gets an independent dialogue session with its own state and outcome.


:light_bulb: Why MrDialogue?

MrDialogue is built around three ideas: completeness, modularity, and simplicity.

You can install it, use the bundled interface, and start building conversations immediately β€” without first having to create your own dialogue framework.

At the same time, the system doesn’t lock you in. Dialogue logic, conditions, actions, speakers, sessions, and presentation are flexible enough to customize or replace as your project grows.

The goal is simple: work out of the box, without getting in your way later.


:books: Documentation

MrDialogue has full documentation covering everything from your first dialogue to individual APIs and customization.

:rocket: Getting Started

:brain: Core Guides

:receipt: API Reference

:hammer_and_wrench: Troubleshooting


:high_voltage: Quick Example

Getting started only requires starting the client runtime once and defining your dialogue on the server.

View example

Client

Create a LocalScript under StarterPlayerScripts:

local ReplicatedStorage = game:GetService("ReplicatedStorage")

local MrDialogue = require(ReplicatedStorage.Packages.MrDialogue.Client)

MrDialogue.Start()

Server

A dialogue can be started whenever a player interacts with an NPC, ProximityPrompt, quest object, or any other system.

local ReplicatedStorage = game:GetService("ReplicatedStorage")

local MrDialogue = require(ReplicatedStorage.Packages.MrDialogue.Server)

local dialogue = MrDialogue.new({
    format = 1,
    id = "directions",
    entry = "greeting",

    nodes = {
        greeting = {
            type = "line",
            text = "Do you need directions?",
            next = "answer",
        },

        answer = {
            type = "choice",
            options = {
                {
                    id = "yes",
                    text = "Yes.",
                    next = "directions",
                },

                {
                    id = "no",
                    text = "No, thanks.",
                    next = "done",
                },
            },
        },

        directions = {
            type = "line",
            text = "Follow the road north.",
            next = "done",
        },

        done = {
            type = "end",
        },
    },
})

script.Parent.Triggered:Connect(function(player)
    local session, startError = dialogue:Start(player)

    if not session then
        warn(`Could not start dialogue: {startError}`)
    end
end)

For a complete walkthrough, see Your First Dialogue.


:test_tube: What can I use it for?

MrDialogue works for NPC conversations, quests, merchants, tutorials, branching stories, reputation systems, progression-based interactions, and other dialogue-driven gameplay.

Because dialogue logic is kept separate from presentation, the same system can scale from a simple conversation to much more complex game-specific interactions.


:package: Installation

MrDialogue can be installed through Wally or directly from the Roblox Creator Store.

:open_book: Installation Guide β€’ :toolbox: Creator Store


:unlocked: Open Source

MrDialogue is completely open source under the MIT License.

:laptop: View the source code on GitHub

Bug reports, contributions, feature requests, and feedback are always welcome.

If you end up using MrDialogue in your experience, I’d also love to see what you build with it!

13 Likes

Nice, this is VERY simple to set up, genuinely easy to change ui (not using unbreathably bad ui structure to even use) and seems like a good one for anything for dialogue. THE ONLY FEEDBACK IS make it easier to add functions, and adding stuff to it so its not restricted.

1 Like

Thanks for the feedback! I’ll take this into consideration for future updates!

This is exactly what I need for my RPG game I am working on. This seems almost too good to be true.

Just to be clear and based on the documentation I have looked at, register condition/action are essentially the way to invoke a β€œfunction” based on the path ending in the desired way?

1 Like

Yes, pretty much! RegisterCondition lets you check which paths are available, while RegisterAction lets you execute functions when the dialogue reaches specific action nodes.

For example, accepting a quest could lead to an action node that calls your registered startQuest function.

Actions can happen anywhere in a dialogue, not just at the end. If you specifically want to handle different endings, you can assign a result to an end node and check it through session.Ended .

1 Like

btw i made some good examples for you to use for the rpg your making so

You made examples for me? Okay, I don’t see any.

Oh I forgot i didnt send it down here.