This is my current script to try it but it don't work.
Sound = script.Sound
--Sound
lay()
game.Close:connect(function()
print("The place is closing")
Sound
top()
end)
--Sound
lay()
game.Close:connect(function()
print("The place is closing")
Sound
top()
end)