script.Parent:WaitForChild("\071\101\097\114")script.Parent:WaitForChild("\083\112\101\101\100")script.Parent:WaitForChild("\078\101\101\100\108\101")local x=game.Players.LocalPlayer local t=x:GetMouse()local Z=script.Parent.Parent.Parent.Car.Value Z.DriveSeat.HeadsUpDisplay=false local o=require(Z["\065-\067\104\097\115\115\105\115 \084\117\110\101"])local b=o.PeakRPM local V=o.Redline local y=1 local j=math.ceil(V/1000)script.Parent.Parent.Parent.Values.Gear.Changed:connect(function()local x=script.Parent.Parent.Parent.Values.Gear.Value if x==0 then x="\078"elseif x==-1 then x="\082"end script.Parent.Gear.Text=x end)script.Parent.Parent.Parent.Values.RPM.Changed:connect(function()script.Parent.Needle.Rotation=230*math.min(1,script.Parent.Parent.Parent.Values.RPM.Value/(j*1000))end)script.Parent.Parent.Parent.Values.Velocity.Changed:connect(function(x)script.Parent.Speed.TextLabel.Text=math.floor(UNITS[y].scaling*script.Parent.Parent.Parent.Values.Velocity.Value.Magnitude)end)wait(.1)
-----------------------------------------------------------------------------------------------

script.Parent:WaitForChild("Gear")
script.Parent:WaitForChild("Speed")
script.Parent:WaitForChild("Needle")

local player = game.Players.LocalPlayer
local mouse = player:GetMouse()

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

local _Tune = require(car["A-Chassis Tune"])

local _pRPM = _Tune.PeakRPM
local _lRPM = _Tune.Redline

local currentUnits = 1
local revEnd = math.ceil(_lRPM / 1000)

script.Parent.Parent.Parent.Values.Gear.Changed:connect(function()
	local gearText = script.Parent.Parent.Parent.Values.Gear.Value
	if gearText == 0 then
		gearText = "N"
	elseif gearText == -1 then
		gearText = "R"
	end
	script.Parent.Gear.Text = gearText
end)

script.Parent.Parent.Parent.Values.RPM.Changed:connect(function()
	script.Parent.Needle.Rotation = 230 * math.min(1, script.Parent.Parent.Parent.Values.RPM.Value / (revEnd * 1000))
end)

script.Parent.Parent.Parent.Values.Velocity.Changed:connect(function(property)
	script.Parent.Speed.TextLabel.Text =
		math.floor(UNITS[currentUnits].scaling * script.Parent.Parent.Parent.Values.Velocity.Value.Magnitude)
end)

wait(0.1)
