Hi 'dere!
I was wondering if its possible for several textbuttons to fire the same event and run the same function without me needing to put the script in 30+ buttons:
Code:
function onClick()
script.Parent.Parent.Parent.Parent.Loading.Visible = true
end
script.Parent.MouseButton1Click:connect(onClick)
I want this to be executed when any of the buttons are clicked but there must be a more efficient way than pasting this in every TextButton? |