local P=0 local x={}if _Tune.Config=="\070\087\068"or _Tune.Config=="\065\087\068"then for P,g in pairs(car.Wheels:GetChildren())do if g.Name=="\070\076"or g.Name=="\070\082"or g.Name=="\070"then table.insert(x,g)end end end if _Tune.Config=="\082\087\068"or _Tune.Config=="\065\087\068"then for P,g in pairs(car.Wheels:GetChildren())do if g.Name=="\082\076"or g.Name=="\082\082"or g.Name=="\082"then table.insert(x,g)end end end for x,g in pairs(x)do if g.Size.x>P then P=g.Size.x end end

local wDia = 0
local Drive={}
if _Tune.Config == "FWD" or _Tune.Config == "AWD" then
	for i,v in pairs(car.Wheels:GetChildren()) do
		if v.Name=="FL" or v.Name=="FR" or v.Name=="F" then
			table.insert(Drive,v)
		end
	end
end
if _Tune.Config == "RWD" or _Tune.Config == "AWD" then
	for i,v in pairs(car.Wheels:GetChildren()) do
		if v.Name=="RL" or v.Name=="RR" or v.Name=="R" then
			table.insert(Drive,v)
		end
	end
end
for i,v in pairs(Drive) do
	if v.Size.x>wDia then wDia = v.Size.x end
end
