Keeping text in place as it changes

So I am trying to simulate a old 1960s IBM mainframe. I am currently making a display screen. The text on this screen is supposed to have a blinking thing like the one in this video below.

But instead the text goes from left to right to left again like this video down below.

What I have tried so far is turning off TextScaled, as well as replacing the blinking thing with a empty space but it keeps adding on to the space instead of replacing.

Here is my code so far

local character=string.char(226)..string.char(150)..string.char(174) --[[The Horizontal Rectangle has to be in ascii 
beacuse the physical string wont work--]]

local Text = script.Parent.TextLabel----The text


while true do
	Text.Text=Text.Text..character---Adds the blinking rectangle to text
	wait(0.2)
	Text.Text=Text.Text:gsub("%"..character,"")----removes rectangle from text	
	wait(0.2)
end

Would love some help thank you.

Change the Texts Position to Left on the TextXAlignment Property

1 Like

Try TextXAllignement.

1 Like

robloxapp-20221229-2151380.wmv (177.2 KB)
Ok Worked all i need to do is to reposition the text box. Thanks for the help

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.