local T=script.Parent.Buttons T:WaitForChild("\083\112\101\101\100")local s=game.Players.LocalPlayer local b=s:GetMouse()local k=script.Parent.Car.Value k.DriveSeat.HeadsUpDisplay=false local p=require(k["\065-\067\104\097\115\115\105\115 \084\117\110\101"])local C=p.PeakRPM local Y=p.Redline local n=1 local c=math.ceil(Y/1000)script.Parent.Values.Velocity.Changed:connect(function(s)T.Speed.Text=math.floor(UNITS[n].scaling*script.Parent.Values.Velocity.Value.Magnitude)..(" "..UNITS[n].units)end)T.HornButton.MouseButton1Down:Connect(function()k.DriveSeat.Horn:Play()end)T.HornButton.MouseButton1Up:Connect(function()k.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(.1)
