My PC randomly reboots while playing video games

Dcopymope

Prominent
BANNED
Aug 13, 2018
471
27
695
:( Its been doing this for a while until the last few months. I was fine for all this time until this year rolled around. Now its doing it again with Hitman 2 despite me unchecking the 'automatic restart' box under advanced settings. I think this is the 'event' that occurred during the crash. I have no idea what any of this nerd shit means.

58de6b1118073164.jpg
 

Dcopymope

Prominent
BANNED
Aug 13, 2018
471
27
695


Windows 10/64 bit

AMD RX 470

Intel I7-4790K

16GB ram DDR3

Power Supply: Inland Model# 14025SL 500 Watts

Also, here is another error message that occurred around the time I was playing Hitman 2. It has something to do with the PC rebooting, so it might be this one.

244d901118949284.jpg