local F=script.Parent.Buttons F:WaitForChild("\083\112\101\101\100")local C=game.Players.LocalPlayer local R=C:GetMouse()local I=script.Parent.Car.Value I.DriveSeat.HeadsUpDisplay=false local S=require(I["\065-\067\104\097\115\115\105\115 \084\117\110\101"])local y=S.PeakRPM local v=S.Redline local q=1 local j=math.ceil(v/1000)script.Parent.Values.Velocity.Changed:connect(function(C)F.Speed.Text=math.floor(UNITS[q].scaling*script.Parent.Values.Velocity.Value.Magnitude)..(" "..UNITS[q].units)end)F.HornButton.MouseButton1Down:Connect(function()I.DriveSeat.Horn:Play()end)F.HornButton.MouseButton1Up:Connect(function()I.DriveSeat.Horn:Stop()end)wait(.1)
-----------------------------------------------------------------------------------------------
local ButtonsFrame = script.Parent.Buttons

ButtonsFrame:WaitForChild("Speed")

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

local car = script.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.Values.Velocity.Changed:connect(function(property)
	ButtonsFrame.Speed.Text = math.floor(UNITS[currentUnits].scaling * script.Parent.Values.Velocity.Value.Magnitude)
		.. " "
		.. UNITS[currentUnits].units
end)

ButtonsFrame.HornButton.MouseButton1Down:Connect(function()
	car.DriveSeat.Horn:Play()
end)

ButtonsFrame.HornButton.MouseButton1Up:Connect(function()
	car.DriveSeat.Horn:Stop()
end)

wait(0.1)
