Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

My shop GUI won’t make the frame visible, why?

Asked by 4 years ago

The text button is not a child of the frame

Can any of you make a script and explain it to me? I’ve created a script but I’m on my phone so I can’t see the script I made

0
You're gonna have to provide more details. If what you're trying to do is make a frame visible that's very, very simple. Just set the Visible property of the frame to true. Also make sure the ScreenGUI is Enabled. If you're having problems with this provide more details, but again, there's no much to explain about it. It's a line of code. LeHelary 142 — 4y
0
reason: it either didn't load or text button doesnt exist, use WaitForChild greatneil80 2647 — 4y

2 answers

Log in to vote
0
Answered by 4 years ago

Did you tick the "Visible" checkbox to no? If you didn't you need to explain better, sorry.

Ad
Log in to vote
0
Answered by 4 years ago
Edited 4 years ago

If you are trying to get it to be visible and you have a text button, the script should look like this.

script.Parent.MouseButton1Click:Connect(function()
    script.Parent.Parent.Frame.Visible = true
end)

Edit that as needed.

Answer this question