i want text to type out but if its for example "." there will be a delay before it like in soulshatters test place
local text = "test..." for i = 1, #text do game.Players.LocalPlayer.PlayerGui.Dialogue.DialogueBackground.Text.Text = string.sub(text, 3, i) script.Voice:Play() wait(0.025) end
Check if the character is a symbol, then if it is, give it a longer delay than letters
local text = "test..." local currentChar = "placeholder" for i = 1, #text do currentChar = string.sub(text, i, i) game.Players.LocalPlayer.PlayerGui.Dialogue.DialogueBackground.Text.Text = string.sub(text, 3, i) script.Voice:Play() if string.match(currentChar, "%p") ~= nil then -- %p represents all punctuation and symbols wait(1) -- or however long you want else wait(0.025) end end