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

How can I change the text in the game using a script so that I can only do it?

Asked by
svjatik4 -13
3 years ago

How can I change the text in the game using a script so that I can only do it? I wanted to make a script that changes the text. But how I do not know. Namely, I wanted the text to be on the object and changed and not to the starterGUI

0
What are you trying to say? deeskaalstickman649 475 — 3y
0
I want to change the text. In Game. So that whatever I write appears. svjatik4 -13 — 3y
0
What text? TextLabel? minhnormal 15 — 3y
0
Yes. svjatik4 -13 — 3y
0
I answered, check it out! minhnormal 15 — 3y

1 answer

Log in to vote
0
Answered by 3 years ago

You can use the Text property of the TextLabel to change the text that it is showing. :D

-- Please do remember to reference the textLabel since I did not, and it will occur an error if you don't.
local textLabel

local newText = "Insert Text Here"
textLabel.Text = newText
0
It doesn't change the text. svjatik4 -13 — 3y
Ad

Answer this question