Chances of going to top Comp. Sci. MS program with CC UC transfer undergrad vs CSU undergrad

I feel like if I get higher education especially at a top school then I’ll have better job opportunities, that I don’t think I would have if I just go to CSULB or CC transfer route. A lot of my family went to CSULB and people I know and I think it’s an amazing school but it seems like most people I know who went there end up in Long Beach there whole lives, so I feel like if I go onto a MS program somewhere else than I will have a better chance of working at a good tech company someday since it seems CSULB mainly gets job recruiters from the area unlike top schools who get top companies to come from all over. I would honestly love to just get my BS at a top UC or school without cc transfer route but realistically I can’t because my past grades are really bad (average Cs and Bs, and an F in math 1 semester that wasn’t my freshmen year) And I honestly don’t even know if I could get into CSULB but I have hope because Long Beach residents have a better chance. And I would rather go to CSULB than cc transfer route for undergrad (because I would be able to live at home and I feel like it would be weird changing schools after 2 years and arriving late to a UC) So ultimately I want to get my masters at a top school for better job opportunities.