Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How To Make A text label show different text?

Asked by 3 years ago

So say there was A text label that said Hello students then i want to change the text with a script to say something like hi without adding another text label

1 answer

Log in to vote
1
Answered by 3 years ago
Edited 3 years ago

you would want to do

local textLabel = script.Parent -- change it to your text label's full path
textLabel.Text = "Hello Students"
wait(5) -- change the wait value to how long u want to wait until showing the next text
textLabel.Text = "hi"
0
thanks!!! bigkiddo27 6 — 3y
Ad

Answer this question