RichText acting a bit glitchy with type writer effect


local function TypeWrite(object, text)
	local index = 0
	object.Text = ""
	object.Text = text
	for first, last in utf8.graphemes(object.Text) do
		index += 1
		object.MaxVisibleGraphemes = index
		wait(0.05)
	end
end

It acts weirds sometimes and works super fast or glitchy.

Are you calling TypeWrite more than once before it’s finished?