local w=workspace.FilteringEnabled local G=script.Parent.Car.Value local y=require(G["\065-\067\104\097\115\115\105\115 \084\117\110\101"])local g=0 local N=G.AC6_FE_Idle N:FireServer("\110\101\119\083\111\117\110\100","\073\100\108\101",G.DriveSeat,script.Idle.SoundId,0,script.Idle.Volume,true)N:FireServer("\112\108\097\121\083\111\117\110\100","\073\100\108\101")N: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 G.DriveSeat.IsOn.Value then if script.Parent.Values.RPM.Value<=1100 then if G.DriveSeat.DriveMode.Value=="\069\099\111"then N:FireServer("\116\119\101\101\110","\073\100\108\101",0)else N:FireServer("\116\119\101\101\110","\073\100\108\101",.5)end else N:FireServer("\116\119\101\101\110","\073\100\108\101",0)end else N:FireServer("\116\119\101\101\110","\073\100\108\101",0)end end
--[[
		___      _______                _     
	   / _ |____/ ___/ /  ___ ____ ___ (_)__ 
	  / __ /___/ /__/ _ \/ _ `(_-<(_-</ (_-<
	 /_/ |_|   \___/_//_/\_,_/___/___/_/___/
 						SecondLogic @ Inspare
]]
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
