function onDied()sDied:Play()end function onState(L,w)if L then w:Play()else w:Pause()end end function onRunning(L)if L>0 then sRunning:Play()else sRunning:Pause()end end


function onDied()
	sDied:Play()
end

function onState(state, sound)
	if state then
		sound:Play()
	else
		sound:Pause()
	end
end

function onRunning(speed)
	if speed>0 then
		sRunning:Play()
	else
		sRunning:Pause()
	end
end
