script.Parent.Values.RPM.Changed:connect(function()intach.Rotation=-65+(script.Parent.Values.RPM.Value*250)/8000 end)script.Parent.Values.Velocity.Changed:connect(function(Z)inspd.Rotation=-30+2.75*math.abs(script.Parent.Values.Velocity.Value.Magnitude*.47348484848485)end)script.Parent.Values.Gear.Changed:connect(function()local Z=script.Parent.Values.Gear.Value if Z==0 then Z="\078"car.Body.Dash.DashSc.G.Gear.Text="\078"car.DriveSeat.Filter:FireServer("\114\101\118\101\114\115\101",false)elseif Z==-1 then Z="\082"car.Body.Dash.DashSc.G.Gear.Text="\082"car.DriveSeat.Filter:FireServer("\114\101\118\101\114\115\101",true)end car.Body.Dash.DashSc.G.Gear.Text=Z end)script.Parent.Values.PBrake.Changed:connect(function()dash.PBrake.Visible=script.Parent.Values.PBrake.Value end)
--------------------------------------------------
script.Parent.Values.RPM.Changed:connect(function()
	intach.Rotation = -65 + script.Parent.Values.RPM.Value * 250 / 8000
end)

script.Parent.Values.Velocity.Changed:connect(function(property)
	inspd.Rotation = -30
		+ (440 / 160) * (math.abs(script.Parent.Values.Velocity.Value.Magnitude * ((10 / 12) * (50 / 88))))
end)

script.Parent.Values.Gear.Changed:connect(function()
	local gearText = script.Parent.Values.Gear.Value
	if gearText == 0 then
		gearText = "N"
		car.Body.Dash.DashSc.G.Gear.Text = "N"
		car.DriveSeat.Filter:FireServer("reverse", false)
	elseif gearText == -1 then
		gearText = "R"
		car.Body.Dash.DashSc.G.Gear.Text = "R"
		car.DriveSeat.Filter:FireServer("reverse", true)
	end
	car.Body.Dash.DashSc.G.Gear.Text = gearText
end)

script.Parent.Values.PBrake.Changed:connect(function()
	dash.PBrake.Visible = script.Parent.Values.PBrake.Value
end)
