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?
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?
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.
1 comment
Scripts are case-sensitive so instead of Mousebutton1Click do MouseButton1Click