I'm using two different models, one plays background music while the other blows things up, the problem I'm having is that they both play music. The one that blows up plays music when it is activated, and the other one always plays music. I'm trying to make the one that plays music stop playing when the one that blows up is activated. After some research, I found that the music is inside of a local script. The local script's parent is PlayerScripts, I'm not good at using "GetChildren()", so sorry if I used it incorrectly it, here is a snippet of my script:
for i,v in pairs(game.Players:GetChildren()) do -- Did I use this wrong?
local Alarm = AssetsF:WaitForChild("Alarm") -- This stuff is what the bomb plays
local Alarmb = AssetsF:WaitForChild("Alarm1")
local Music = PlayerScripts:GetChildren()
if not Alarm.IsPlaying then
Alarm:Play()
Alarmb:Play()
Music.LocalBackgroundMusic:Destroy() -- This is the script that has the sound in it
end
end
end
A big thanks if you can help me!

2 comments
have you tried :Stop() ?
I can't find out how to get the sound, so that wouldn't do anything.