function onSoundDied()sDied:Play()end function onState(v,s)if v then s:Play()else s:Pause()end end function onSoundRunning(v)if v>0 then sRunning:Play()else sRunning:Pause()end end


function onSoundDied()
	sDied:Play()
end

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

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