Got my computer back and it seems to not be crashing anymore. This is a good thing! There seems to have been some problem with my CPU. It's something that is known to happen with the Ryzen 9 not getting the right amount of power and causing crashes. Either way, it should all be fixed now.