So the box and all shows but the text does not change. I use a text button to activate the shout and a text box on the gui to create a shout.
local Text = script.Parent.Shout.Shout.Text local Button = script.Parent.ShoutBox.TextButton local SText = script.Parent.ShoutBox.TextBox.Text local Frame = script.Parent.Shout Button.MouseButton1Click:connect(function() script.Parent.Shout.Shout.TextScaled = true Frame.Visible = true Text = SText wait(5) Frame.Visible = false script.Parent.Shout.Shout.TextScaled = false end)
You get the text on the start of your script, you should get it when the function runs
You have the same problem with text, as text is a string var it won't update the object propertie.
Also never use Text as a name :/
Like this
local AText = script.Parent.Shout.Shout local Button = script.Parent.ShoutBox.TextButton local SText = script.Parent.ShoutBox.TextBox local Frame = script.Parent.Shout Button.MouseButton1Click:connect(function() script.Parent.Shout.Shout.TextScaled = true Frame.Visible = true AText.Text = SText.Text wait(5) Frame.Visible = false script.Parent.Shout.Shout.TextScaled = false end)
Should work :)