Part following model orientation

Good day!. Previously I made a car dealership, the only problem was that the player always needed to define the position of a part in order to leave it in the correct orientation (For when the car is spawned on the map). But I wanted to do this automatically, create a part at the base of the car with size and orientation. The only current problem is the Orientation, which is not always ideal. Does anyone know how to solve?

How it have to be:

imagem_2022-08-22_105210387

How it get in some times:
imagem_2022-08-22_105304337
I’m trying to make it in a way that doesn’t need me to modify it or anyone else needs it (It’s for future sales). So this would just be running by script

The script i am using:

local Part = Instance.new("Part", workspace) 
Car = game.Selection:Get()[1]
local X, Y, Z = workspace.Car:GetPivot():ToOrientation()
Part.Size = Vector3.new(Car:GetExtentsSize().X, 0.2, Car:GetExtentsSize().Z) 
local Position = Car:GetBoundingBox()
Part.Position =  Position.Position - Vector3.new(0, Position.Position.Y/2 + 0.3, 0)
Part.Orientation = Vector3.new(0,math.deg(Y), math.deg(Z))