Find the closest part under a part

Sorry if this topic is confusing, but I need help finding the part under another part, for example under the right foot of your character, is the baseplate. Is there any way to script this.

Just raycast under the player and put the basepate on a Blacklist