script.Parent.Parent.Values.RPM.Changed:connect(function()local z=0 z=totalPSI*20 BOVact=math.floor(z)end)script.Parent.Parent.Values.RPM.Changed:connect(function()wait(.1)local z=0 z=totalPSI*20 BOVact2=math.floor(z)end)script.Parent.Parent.Values.RPM.Changed:connect(function()if BOVact>BOVact2 then if BOV.IsPlaying==false then BOV:Play()end end if BOVact<BOVact2 then if BOV.IsPlaying==true then BOV:Stop()end end end)
--BOV--
script.Parent.Parent.Values.RPM.Changed:connect(function()
	local t = 0
	t = (totalPSI * 20)
	BOVact = math.floor(t)
end)
script.Parent.Parent.Values.RPM.Changed:connect(function()
	wait(0.1)
	local t2 = 0
	t2 = (totalPSI * 20)
	BOVact2 = math.floor(t2)
end)
script.Parent.Parent.Values.RPM.Changed:connect(function()
	if BOVact > BOVact2 then
		if BOV.IsPlaying == false then
			BOV:Play()
		end
	end
	if BOVact < BOVact2 then
		if BOV.IsPlaying == true then
			BOV:Stop()
		end
	end
end)
