hello I'm trying to make a button have a sound when clicked but it doesnt seem to be working for me. My script is a localscript with it being a parent to the sound.
local text = script.Parent.Parent.Notification.Text local function sendNotifi () script.Parent.Parent.Parent.Parent.Notifications.Test.Text = text script.sendSound:Play() end script.Parent.Activated:Connect(sendNotifi)