Ok I found this script ...... This should do what you want ..
-- reconditioned script (based on the HockeyKid script).
-- Script 3D surround sound to GameGuru. Object interaction AlgoStep Company (DevCore35, Adrien, Gaetan)
-- This script can be used in commercial games
function soundbinau_init(e)
nlevel=0
maxvolume = 100
minvolume = 1
noise = 0
end
function soundbinau_main(e)
PlayerDist = GetPlayerDistance(e)
nvolume = maxvolume - ( PlayerDist / 100.0 )
if nvolume < minvolume then
StopSound(e,0)
noise=0
else
if noise == 0 then
LoopSound(e,0)
noise = 1
end
SetSoundVolume(nvolume)
end
end
The only person ever to get all his work done by "Friday" was Robinson Crusoe..