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

My text labels/buttons wont disappear in this script?

I have a Text Label, 3 Text buttons. and this script.

script.Parent.Mousebutton1Click:Connect(function() script.Parent.Parent.Visible = false end)

Whats not working?

1 comment

0

Scripts are case-sensitive so instead of Mousebutton1Click do MouseButton1Click

1 answer

Try this,

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

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