Put a spawn in the first room then put this script in it:
script.Parent.Sound:Play()
Then put an invisible brick in the other room and put this script in:
function onTouched(hit)
local player = game:GetService("Players"):GetPlayerFromCharacter(hit.Parent)
if player then
game.Workspace.Spawn.Sound:Destroy()
end
script.Parent.Touched:connect(onTouched) |