Popular game developers, how did you get your game popular or get investors?

people who have released games that have gotten popular or have high payouts, how did you get your game popular and how did you get investors? I know some scripting but I’ve never released a full game yet, so I want to know before I do.