Yes, I am aware the scripting sucks.
Basically, as the title suggests, I'd need the sounds to have Reverb and Equalizer toggled on or off at the users request. I haven't got any error messages that indicate I've done it wrong. Completely puzzled as I can't find any videos online that help.
local button = script.Parent
local label = script.Parent.Parent.EnabledOrDisabled
local function toggle()
if game.SoundService.CoreSound.EqualizerSoundEffect.Enabled == true and game.SoundService.CoreSound.ReverbSoundEffect.Enabled == true then
game.SoundService.CoreSound.EqualizerSoundEffect.Enabled = false and game.SoundService.CoreSound.ReverbSoundEffect.Enabled == false
else
if game.SoundService.CoreSound.EqualizerSoundEffect.Enabled == false and game.SoundService.CoreSound.ReverbSoundEffect.Enabled == false then
game.SoundService.CoreSound.EqualizerSoundEffect.Enabled = true and game.SoundService.CoreSound.ReverbSoundEffect.Enabled == true
end
end
end
button.MouseButton1Click:Connect(function()
toggle()
end)
