Script error, for Ban Gui

You can write your topic however you want, but you need to answer these questions:
Well I wanted to make a ban GUI but then I got an error and I can’t find out the problem, this script was in the Ban textButton here’s a screenshot!

Make sure script.Parent.Parent is a GUI element that has the text property.

May you explain a bit more? I don’t really work well with GUIs.

When script.Parenting a bunch of times, the autocorrect usually automatically chooses what you’re exactly wanting to place

If the autocorrect doesn’t detect a property called “Text”, then it’s unknown (Or not valid)

Make sure you find a property that’s called “Text” in the autocorrect feature, otherwise it’s considered unknown

Ah, that makes more sense thanks!