local s=script.Parent.Car.Value local e=(game:GetService("\082\117\110\083\101\114\118\105\099\101")).Heartbeat local n=s.Body.Drag.Wind local T=s.Body.Drag.Body n:Play()T:Play()local function G()n.Volume=Vol*(s.DriveSeat.Velocity.Magnitude/500)T.Volume=Vol*(s.DriveSeat.Velocity.Magnitude/500)s.Body.DownforceF.T.Force=Vector3.new(0,(s.DriveSeat.Velocity.Magnitude/-300)*F,0)s.Body.DownforceR.T.Force=Vector3.new(0,(s.DriveSeat.Velocity.Magnitude/-300)*R,0)s.Body.Drag.T.Force=Vector3.new(0,0,s.DriveSeat.Velocity.magnitude^2*(Drag/30))end e:Connect(G)
--End of Editable Values

local car = script.Parent.Car.Value
local hb = game:GetService("RunService").Heartbeat
local sound = car.Body.Drag.Wind
local sound2 = car.Body.Drag.Body
sound:Play()
sound2:Play()

local function update()
	sound.Volume = Vol * (car.DriveSeat.Velocity.Magnitude / 500)
	sound2.Volume = Vol * (car.DriveSeat.Velocity.Magnitude / 500)
	car.Body.DownforceF.T.Force = Vector3.new(0, (car.DriveSeat.Velocity.Magnitude / -300) * F, 0)
	car.Body.DownforceR.T.Force = Vector3.new(0, (car.DriveSeat.Velocity.Magnitude / -300) * R, 0)
	car.Body.Drag.T.Force = Vector3.new(0, 0, (car.DriveSeat.Velocity.magnitude ^ 2 * (Drag / 30)))
end

hb:Connect(update)
