Skip to content

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

library for creating dialogs

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Used by

Contributors

Languages