local W=workspace.FilteringEnabled local Q=script.Parent.Car.Value local i=require(Q["\065-\067\104\097\115\115\105\115 \084\117\110\101"])local f=0 local F=Q.AC6_FE_Idle F:FireServer("\110\101\119\083\111\117\110\100","\073\100\108\101",Q.DriveSeat,script.Idle.SoundId,0,script.Idle.Volume,true)F:FireServer("\112\108\097\121\083\111\117\110\100","\073\100\108\101")F:FireServer("\117\112\100\097\116\101\083\111\117\110\100","\073\100\108\101",script.Idle.SoundId,.5,0)while wait()do if Q.DriveSeat.IsOn.Value then if script.Parent.Values.RPM.Value<=1100 then if Q.DriveSeat.DriveMode.Value=="\069\099\111"then F:FireServer("\116\119\101\101\110","\073\100\108\101",0)else F:FireServer("\116\119\101\101\110","\073\100\108\101",.5)end else F:FireServer("\116\119\101\101\110","\073\100\108\101",0)end else F:FireServer("\116\119\101\101\110","\073\100\108\101",0)end end

local FE = workspace.FilteringEnabled
local car = script.Parent.Car.Value
local _Tune = require(car["A-Chassis Tune"])
local on = 0

local handler = car.AC6_FE_Idle
handler:FireServer("newSound","Idle",car.DriveSeat,script.Idle.SoundId,0,script.Idle.Volume,true)
handler:FireServer("playSound","Idle")

handler:FireServer("updateSound","Idle",script.Idle.SoundId,0.5,0)	

while wait() do
	if car.DriveSeat.IsOn.Value then	
		if script.Parent.Values.RPM.Value <= 1100 then	
			if car.DriveSeat.DriveMode.Value == "Eco" then
				handler:FireServer('tween',"Idle",0)
			else
				handler:FireServer('tween',"Idle",0.5)										
			end
			--handler:FireServer('tween',"Rev",0)				
		else
			handler:FireServer('tween',"Idle",0)						
		end
	 else
		handler:FireServer('tween',"Idle",0)				
end
end
