local nyancat = script.Parent.ClickValue
local soundid = game.Workspace.PickAToonSongs
if nyancat.Value == 1 then
soundid:Stop()
end
✓ ANSWER ACCEPTED
My Sound Will Not Stop When Value is 1?
1 answer
✓ Accepted answer
I would use a Changed() event.
Here:
local nyancat=script.Parent.ClickValue
local soundid=game.Workspace.PickAToonSongs
nyancat.Changed:connect(function()
if nyancat.Value==1 then
soundid:Stop()
end
end)
1 comment
0
did the trick!!!!! Thanks
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Thing is the script does not work it wont shut down my sound and i have changed nearly all the condtions