Will I get in if I don't pass a P/NP class that has nothing to do with my major, not transferable?

I’m going to fail a P/NP class, service learning. I’ve done 40 hours of community service this semester that my prof won’t accept bc it was on campus volunteer work. It literally has nothing to do with my major or any major or any prerequisites. Doesn’t count for IGETC, etc. So does it count for UC’s? Am I screwed???

If it’s not transferable it won’t count.