I want to make a typewriting system similar to in the video.
I can’t seem to figure out a way to make the Text size and position perfectly so it fits on one line.
I’ve tried changing the changing the TextLabel’s size but it doesn’t work.
Video (sorry for the lag):
local TextLabel = script.Parent
wait(5)
local function TypeWrite(name,text)
TextLabel.Text = name..": "
wait(.05)
for i = 1,#text,1 do
TextLabel.Text = "<font color = 'rgb(255,0,0)'>".. name.."</font>: "..text:sub(1,i)
wait(.05)
end
end
TypeWrite("person name","hello, how are you doing today???????????????????????")
Yeah, but it doesn’t give the result I want. (It changes sizes as the text is being added, I want it to be one size at the start and fit the screen in the end)