Greetings @CyberGodzilla21,
First question for you. When it turns off, does it stay off or turn back on? Is there anything in the event viewer logs at the time the shutdown occurred? Probably just the Kernel-Power, but it's worth checking if anything was recorded shortly before that, like a display driver crash.
Submit photos and a description of your PC to our build showcase
See other custom PC builds and get some ideas for what can be done
Services starting at $149.99