Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

[SOLVED] I have a problem with UI script buttons, further helps?

I was making a script for my GUI buttons, I tested it both client and studio. The script works and it doesn't give errors but it won't work, (my game is in FilteringEnabled), Further helps please? Thanks as an advance!

script.Parent.MouseButton1Click:Connect(function()
	script.Parent.Parent.Parent.Frame.Visible = false --this doesn't work.
end)

I clicked it many times ASAP that it would work, but never worked. Is there any problems?

3 comments

0

is it a local script

0

It has to be a local script inside of the button. If it's not that then it won't work.

0

Thanks for the advice! It's not a local script.

1 answer

This discussion is preserved as it was. New answers, comments, and votes are closed.