I have some music with a script like this:
local sound1 = 949583914
local sound2 = 918984470
local sound3 = 390846973
local music=script.Parent
while true do
wait()
music.SoundId="rbxassetid://"..sound1
music:Play()
music.Ended:wait()
wait()
music.SoundId="rbxassetid://"..sound2
music:Play()
music.Ended:wait()
wait()
music.SoundId="rbxassetid://"..sound3
music:Play()
music.Ended:wait()
wait()
end
And I tried doing this:
script.Parent.MouseButton1Click:connect(function()
script.Parent.Parent.Parent.Parent.Parent.Music.Volume = 0
end)
I don't know what I did wrong. You might not even be able to change the volume like that. I need it to be fully local too.

2 comments
Btw the music one is a normal script, but the mute on is a local one.
Is the mute script in a PART or TEXTBUTTON?