script.Parent.OnServerEvent:connect(function(k,f,u,Z,W,w,Y)local a=script.Parent.Parent:WaitForChild("\068\114\105\118\101\083\101\097\116")local Q=a:WaitForChild("\087\104\105\115\116\108\101")local b=a:WaitForChild("\066\079\086")local N=a.Throttle if N<0 then N=0 end Q.Pitch=f Q.Volume=(f/4)*Y b.Pitch=1-(-f/40)b.Volume=(((-0.03+f/2)*(1-N))/2)*w end)
--Updater
script.Parent.OnServerEvent:connect(function(player, totalPSI, actualPSI, Throttle, BOVFix, BOV_Loudness, TurboLoudness)
	local DriveSeat = script.Parent.Parent:WaitForChild("DriveSeat")
	local W = DriveSeat:WaitForChild("Whistle")
	local B = DriveSeat:WaitForChild("BOV")

	local Throttle = DriveSeat.Throttle
	if Throttle < 0 then
		Throttle = 0
	end
	W.Pitch = totalPSI
	W.Volume = (totalPSI / 4) * TurboLoudness
	B.Pitch = 1 - (-totalPSI / 40)
	B.Volume = (((-0.03 + totalPSI / 2) * (1 - Throttle)) / 2) * BOV_Loudness
end)
