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.
Documentation β’
GitHub β’
Creator Store β’
Portfolio Page
Showcase
A short example of MrDialogue running in Roblox Studio using the bundled interface.
Features
-
Graph-based conversations
Build branching dialogue usingline,choice,branch,action, andendnodes. Paths can split, merge, skip steps, and react to game state. -
Ready to use
Get started quickly with a complete dialogue runtime and bundled interface without having to build the surrounding systems yourself. -
Modular by design
Use MrDialogue as-is or customize individual parts of the system as your project grows. -
Conditions & actions
Control dialogue paths with your own game logic and trigger quests, rewards, progression, or other actions directly from conversations. -
Speakers & emotions
Define reusable speakers, portraits, and emotion-specific presentation data. -
Bundled UI
Includes typewriter text, animated choices, speaker portraits, RichText support, and mouse, keyboard, touch, and gamepad input. -
Custom UI support
Customize the bundled interface, provide your ownScreenGui, or replace the presentation layer entirely with a custom adapter. -
Server-authoritative runtime
Dialogue state, conditions, actions, and choice validation are handled by the server. -
Typed & validated
Built with strict Luau types and validates dialogue definitions before sessions start. -
Per-player sessions
Each player gets an independent dialogue session with its own state and outcome.
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.
Documentation
MrDialogue has full documentation covering everything from your first dialogue to individual APIs and customization.
Getting Started
Core Guides
API Reference
Troubleshooting
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.
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.
Installation
MrDialogue can be installed through Wally or directly from the Roblox Creator Store.
Installation Guide β’
Creator Store
Open Source
MrDialogue is completely open source under the MIT License.
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!
