How to change text of a TextLabel on bilboard?
Asked by
4 years ago Edited 4 years ago
So I am trying to make a sign, with a GUI in which you can change the text. There is a textlabel in a bilboardGUI in Workspace, but the text of the text box won't change when I type something into it, therefor the text of the textlabel just goes blank. Here's the text:
1 | script.Parent.MouseButton 1 Click:Connect( function () |
2 | newText = game.Workspace.Shop.Sign.TextBil.SignText:Clone() |
3 | newText.Parent = game.Workspace.Shop.Sign.TextBil |
4 | newText.Name = "NewText" |
5 | newText.Text = script.Parent.Parent.NewName.Text |
6 | game.Workspace.Shop.Sign.TextBil.SignText:Destroy() |
7 | script.Parent.Parent.Visible = false |