script.Parent.OnServerEvent:connect(function(R,d,e,B,C)local z=script.Parent.Parent:WaitForChild("\068\114\105\118\101\083\101\097\116")local y=z:WaitForChild("\087\104\105\115\116\108\101")local a=z:WaitForChild("\066\079\086")local M=z.Throttle if M<0 then M=0 end y.Pitch=d y.Volume=d/4 a.Pitch=1-(-d/40)a.Volume=((-0.03+d/2)*(1-M))/2 end)
--Updater
script.Parent.OnServerEvent:connect(function(player, totalPSI, actualPSI, Throttle, BOVFix)
	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
	B.Pitch = 1 - (-totalPSI / 40)
	B.Volume = ((-0.03 + totalPSI / 2) * (1 - Throttle)) / 2
end)
