local f=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 S=(totalPSI/2)*WasteGatePressure local m=WasteGatePressure f=-m+S*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)
--Turbo Gauge GUI--

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 * (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)
