How to get first part of a model?

I want to get the first part of an object without having to know its name for example I do:

Model:FindFirstChild("Part")

How can I do that but with a classname for example the part might not be named part but I still want to find the first part in a model

You can say Model:FindFirstChildOfClass("Part"), and it’ll locate an item based off of its ClassName. Optionally, you could use FindFirstChildWhichIsA, but here’s its Developer Hub page just in case you want to read up more about it, since it would locate more than what is just a “Part”,

You have two choices for this.

FindFirstChildWhichIsA()
or
FindFirstChildOfClass()
They both basically work the same and use the same concept as FindFirstChild()