Sounds Refusing to Play When :Play() is ran on them

Hello. I have the below script trying to play an audio, but it isn’t working for an unknown reason. There is no console error, the sound doesn’t give a “Failed to Load” error, or anything. I can’t get this audio to play.

If I use the in-game console to play it, nothing also happens.

AlarmService = game.Lighting:WaitForChild("BreachSounds",99999999) --Mute Inf Yeild
game.ReplicatedStorage:WaitForChild("CauseBreach").Event:Connect(function(SCP)
	if SCP == "049" and (not WaitDetector) then
	WaitDetector = true
		script.Parent.Torso.CFrame = CFrame.new(NodePosition)
print("[AUTO BREACH V2.1] SCP-049 Has Breached Containment.")
	AlarmService:WaitForChild("049Breach1",9999999):Play()
		print("Found Name")
	wait(60)
	WaitDetector = false
	end

end)

This script detects when a Module Script Fires an Bindable event, then plays an audio.

I have tried:

  • Moving the Audio Around (From Workspace, to Lighting)
  • Changing it’s parent (Tried a Model + Folder)
  • Playing it though console

If anything knows a fix, please help. Thanks.

1 Like

you can just do AlarmService:FindFirstChild(“049Breach1”):Play()

1 Like

Sadly this didn’t fix my issue. Do you have any other solutions?

did you check the sound volume? or your roblox volume?

1 Like

I hear other sounds in my game just fine, but they are parented to a brick. According to the documentation on Sound, I should be able to parent it to a non-part just fine.

I can’t parent it to a brick because I want it to be global, AND because it’s a waste of memory to have it still try and render the audio behavior if I just spam 9’s in the distance slot.

Edit: Could this be a studio bug? If it is, I’m not able to submit a report, so no idea whattt I should do about this.

you should make a folder in workspace called sounds
and put all your sounds there

1 Like

They didn’t work in a folder. I tried both a folder and a model.


Drop the sound in workspace,

3 Likes

If I drop it in workspace, It will be really unorganized and take forever to find it though the thousands of other parts

I’ll still try placing one in just to see what happens.

It appears it had to be within a model, within workspace. It couldn’t be a folder, and it couldn’t be directly workspace. Thanks for your help!