local X=0 script.Parent.Parent.Values.RPM.Changed:connect(function()script.Parent.BAnalog.Visible=BoostGaugeVisible script.Parent.Background.Visible=BoostGaugeVisible script.Parent.DontTouch.Visible=BoostGaugeVisible script.Parent.Num.Visible=BoostGaugeVisible local F=(totalPSI/2)*WasteGatePressure local e=WasteGatePressure X=-e+F*2 script.Parent.BAnalog.Rotation=110+(totalPSI/2)*220 script.Parent.Num.N1.TextLabel.Text=math.floor(WasteGatePressure*1.0)script.Parent.Num.N2.TextLabel.Text=math.floor(WasteGatePressure*.66666666666667)script.Parent.Num.N3.TextLabel.Text=math.floor(WasteGatePressure*.33333333333333)script.Parent.Num.N4.TextLabel.Text=math.floor(WasteGatePressure*-0.33333333333333)script.Parent.Num.N5.TextLabel.Text=math.floor(WasteGatePressure*-0.66666666666667)script.Parent.Num.N6.TextLabel.Text=math.floor(WasteGatePressure*-1.0)end)


local fix = 0


script.Parent.Parent.Values.RPM.Changed:connect(function()
	
	script.Parent.BAnalog.Visible = BoostGaugeVisible
	script.Parent.Background.Visible = BoostGaugeVisible
	script.Parent.DontTouch.Visible = BoostGaugeVisible
	script.Parent.Num.Visible = BoostGaugeVisible
	
	
	local turbo = ((totalPSI/2)*WasteGatePressure)
	local turbo2 = WasteGatePressure
	
	fix =  -turbo2 + turbo*2
	
	script.Parent.BAnalog.Rotation= 110 + (totalPSI/2)*220
	
	
script.Parent.Num.N1.TextLabel.Text = math.floor(WasteGatePressure*(3/3))
script.Parent.Num.N2.TextLabel.Text = math.floor(WasteGatePressure*(2/3))
script.Parent.Num.N3.TextLabel.Text = math.floor(WasteGatePressure*(1/3))
script.Parent.Num.N4.TextLabel.Text = math.floor(WasteGatePressure*(-1/3))
script.Parent.Num.N5.TextLabel.Text = math.floor(WasteGatePressure*(-2/3))
script.Parent.Num.N6.TextLabel.Text = math.floor(WasteGatePressure*(-3/3))


end)
















