Forest Logo
search
package_2

dialoglib

By @egor00f

Roblox

Mirrored from Wally

This version ships no README. Showing the README from v0.1.3, mirrored from wally.

Dialog lib

this is library for creating dialogs

Example

local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")

local dialog = require(ReplicatedStorage.shared.dialog)

local ScreenGui = Instance.new("ScreenGui", Players.LocalPlayer.PlayerGui)
local MainFrame = Instance.new("Frame", ScreenGui)
MainFrame.Size = UDim2.fromScale(0.5, 0.5)

local ch1 = dialog.character.new("0")
local ch2 = dialog.character.new("1")

local phrasesList = {
	dialog.phrase.new("Hello there", ch1),
	dialog.phrase.new("Hello", ch2),
	dialog.phrase.new("aboba", ch1),
	dialog.phrase.new("Goodbye~", ch2)
}

local d = dialog.new(
	phrasesList,
	MainFrame
)

for i = 1, #phrasesList, 1 do
	d:Next()
	task.wait(5)
end

Package Details

Install command (Click to copy)


Version

0.2.0

License

MIT

check_circle

Safe for commercial use

infoThe package archive does not include its license text; the license is declared in its manifest metadata.

Automated license review — not legal advice.