I Need HELP with a Script!

I am trying to make a Admin Panel and have it so a Banner at the top changes when you type in a text box and press a submit button and it changes. This is what I am up to

script.Parent.MouseButton1Click:Connect(function()

script.Parent.Parent.Parent.Text.TextLabel.Text = "Disco!!"

end)

I just don’t know how to make it with the Text Box. Please can someone help!

local banner = script.Parent.Parent.TextLabel
local textbox = script.Parent.Parent.TextBox
local button = script.Parent

button.MouseButton1Click:Connect(function()
	banner.Text = textbox.Text
end)

Organisation:

image

Demonstration:
https://gyazo.com/c8644cbd7ceaf04a3d94ecae1117b9c3

1 Like

Is the Text Label for the Banner?

Also, I tried it and it and It made it Blank

Okay Its working now! Tysm!!!