Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How to create changing texts?

``So I looked through videos but they don't work, first i added ScreenGui in StarterGui and then added TextBox in ScreenGui and added a local script in TextBox.

Here is a simplified script:

local kool = script.Parent
kool.Focused:Connect(function() 
wait(10)
print("O")
print("Ok")
end)

4 comments

0

What text are you trying to change exactly?

0

i just dont get why it wont work,

0

Could you put the actual script in the script format using the code blocks? It would help me see the problem better.

0

sorry, i dindt know how to use them until now

1 answer

✓ Accepted answer

First, don't use a LocalScript, use a normal Script. Second, try this script.

local t = script.Parent

wait(10) --Change this to how long in seconds it takes to change
t.Text = "Hello" --Change this into what you want the text to be

2 comments

0

i tried doing that before but it didnt work

0

oh wait, nvm

This discussion is preserved as it was. New answers, comments, and votes are closed.