local h=0 function Gauge()script.Parent.BAnalog.Visible=BoostGaugeVisible script.Parent.Background.Visible=BoostGaugeVisible script.Parent.DontTouch.Visible=BoostGaugeVisible script.Parent.Num.Visible=BoostGaugeVisible local e=(totalPSI/2)*WasteGatePressure local A=WasteGatePressure h=-A+e*2 script.Parent.BAnalog.Rotation=110+(totalPSI/2)*220 script.Parent.Num.N1.TextLabel.Text=math.floor(WasteGatePressure*1.0)*TurboCount script.Parent.Num.N2.TextLabel.Text=math.floor(WasteGatePressure*.75)*TurboCount script.Parent.Num.N3.TextLabel.Text=math.floor(WasteGatePressure*.5)*TurboCount script.Parent.Num.N4.TextLabel.Text=math.floor(WasteGatePressure*.25)*TurboCount script.Parent.Num.N5.TextLabel.Text=0 script.Parent.Num.N6.TextLabel.Text=-5 end


local fix = 0


function Gauge()
	
	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*(4/4)))*TurboCount
script.Parent.Num.N2.TextLabel.Text = (math.floor(WasteGatePressure*(3/4)))*TurboCount
script.Parent.Num.N3.TextLabel.Text = (math.floor(WasteGatePressure*(2/4)))*TurboCount
script.Parent.Num.N4.TextLabel.Text = (math.floor(WasteGatePressure*(1/4)))*TurboCount
script.Parent.Num.N5.TextLabel.Text = 0
script.Parent.Num.N6.TextLabel.Text = -5


end
