I’ve read dozens of posts about invite friend gui and I didn’t find how to make a custom one.
I know this is a possibility because the game The Presentation Experience has a working custom invite friends gui:
You can create your own ui which utilizes ExperienceInviteOptions.InviteUser to prompt a specific player to be invited… This will remove the default roblox invite player list (shown below)