Hello, my name is F2aret. I’ve been working on a mute boombox button, but it doesn’t work. I used a local script and I tried changing somethings that might lead to the problem. But it still does not work. Here is the script if you want to see what I did wrong:
local enabled = true
script.Parent.Visible = true
function onClick()
if enabled == false then
game.ServerStorage.BoomBox.Client.Disabled = true
else
game.ServerStorage.BoomBox.Client.Disabled = false
end
end
script.Parent.MouseButton1Down:Connect(onClick)
If you have any idea what is wrong with the script, please contact me or leave a reply. Thanks