PC restarts randomly when gaming

deryyfish22

Prominent
Oct 16, 2017
17
0
510
Hello, so I have a xutom built PC that ive had for around 1.5 years. Nothing was wrong except for an HDD issue that I quickly resolved with a new HDD. But recently my PC has been restarting when I am gaming. My monitor, keyboard, and mouse shut off and my PC restarts. Its happened when playing PUBG and SWBF2. My temps are fine as well. Any help would be awesome.


Specs:
Geforce gtx 950
Amd fx 6300
8gigs ram
500w PSU
Hyper evo CPU cooler