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

How to relay a text label to another text label?

I am making a text to TV script for something I am making, I need help with the relay script.

So, I have tried using while true do and I can't think of any other thing I could use for this.

while true do 
game.workspace.tv.text.text = script.parent.text
end

2 comments

1

script.Parent:GetPropertyChangedSignal("Text"):Connect(function)

0

I solved it myself. I forgot about focus.

1 answer

textBox = script.Parent 
textLabel = workspace.Part.SurfaceGui.TextLabel

textBox.FocusLost:Connect(function()  
        textLabel.Text = textBox.Text
end)

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