Im trying to make the music turn on and off (currently testing). I can't see a problem. Help.
script.Parent.MouseButton1Click:Connect(function()
if script.Parent.Value.Value == '1' then
script.Parent.Parent.Parent.Parent.On.TextLabel.Text = 'Off'
script.Parent.Value.Value = '0'
end
if script.Parent.Value.Value == '0' then
script.Parent.Parent.Parent.Parent.On.TextLabel.Text = 'On'
script.Parent.Value.Value = '1'
end
end)

3 comments
you arent modifying any sound objects in your script.
I am testing to see if the button works currently, ill change the code for the script later
song*