script.Parent:WaitForChild("\082\080\077")local n=script.Parent.Parent.Car.Value n.DriveSeat.HeadsUpDisplay=false script.Parent.Parent.Adornee=n.Body.DGauges.RPM script.Parent.Parent.CanvasSize=Vector2.new(660,330)local D=require(n["\065-\067\104\097\115\115\105\115 \084\117\110\101"])local i=script.Parent.Parent.Parent.Values local E=script.Parent.Parent.Parent.IsOn local L=D.Redline local W=math.ceil(L/1000)i.RPM.Changed:connect(function()local n=math.min(1,i.RPM.Value/(W*1000))local D=-3+n*4 script.Parent.RPM.BackgroundColor3=Color3.fromRGB(255*D,0,0)end)
--[[
		___      _______                _     
	   / _ |____/ ___/ /  ___ ____ ___ (_)__ 
	  / __ /___/ /__/ _ \/ _ `(_-<(_-</ (_-<
	 /_/ |_|   \___/_//_/\_,_/___/___/_/___/
 						SecondLogic @ Inspare
]]

script.Parent:WaitForChild("RPM")

local car = script.Parent.Parent.Car.Value
car.DriveSeat.HeadsUpDisplay = false

script.Parent.Parent.Adornee = car.Body.DGauges.RPM
script.Parent.Parent.CanvasSize = Vector2.new(660, 330)

local _Tune = require(car["A-Chassis Tune"])
local Values = script.Parent.Parent.Parent.Values
local IsOn = script.Parent.Parent.Parent.IsOn

local _lRPM = _Tune.Redline
local revEnd = math.ceil(_lRPM / 1000)

Values.RPM.Changed:connect(function()
	local r = math.min(1, Values.RPM.Value / (revEnd * 1000))
	local rev = -3 + (r * 4)
	script.Parent.RPM.BackgroundColor3 = Color3.fromRGB(255 * rev, 0, 0)
end)
