--[[                                              _______     
		___      _______                _        [________)   
	   / _ |____/ ___/ /  ___ ____ ___ (_)__  __   /  /         
	  / __ /___/ /__/ _ \/ _ `(_-<(_-</ (_-< /__/ /  /
	 /_/ |_|   \___/_//_/\_,_/___/___/_/___/     /__/ 
                       TougeZila @ HomeDepot
]]

local FE = workspace.FilteringEnabled
local car = script.Parent.Car.Value
local handler = car:WaitForChild("AC6_FE_Sounds")
local _Tune = require(car["A-Chassis Tune"])
local B = script.Parent.Values.RPM.Value/80

while wait() do 
if script.Parent.IsOn.Value == true and _Tune.EngineSmoke == true  then
car.Body.Exhaust.E1.Smoke.Rate = 30
if script.Parent.Values.RPM.Value > 7000 then 
car.Body.Exhaust.E1.Smoke.Rate = 50
car.Body.Exhaust.E1.Smoke.Size = NumberSequence.new(1)
car.Body.Exhaust.E1.Smoke.Speed = NumberRange.new(-3,0)
else
car.Body.Exhaust.E1.Smoke.Rate = 30
car.Body.Exhaust.E1.Smoke.Size = NumberSequence.new(0.5)
car.Body.Exhaust.E1.Smoke.Speed = NumberRange.new(-2,0)
end
end
end
