[SOLVED] System turns on then off a minute later

Feb 2, 2019
4
0
10
I recently finished my first build and for the last three days it's been working great. But today I was playing and the system suddenly turned off. Now when I try to turn it on the mobo flashes the lights and none stay on meaning that it doesn't think that something is wrong but the monitor doesn't receive a signal. Any way to find what wrong? P.S. I hadn't seen the temps go above 40c

Edit: I now know that it's not posting. The fans spin the cooler works and the motherboard rgb is going as well. Every thing is getting power. Is there anyway that the RAM is not working but still not triggering the LEDs? I don't have a speaker that can be plugged into the header.
 


Nothing changed when I did that