Chosen Solution

My Mac is constantly restarting is a loop. If I try to put it in recovery mode or safe mode, it continues the loop . I also get often kernel panics:

Do you have an external USB drive you can configure as a bootable drive using a friends Mac? Ideally, you want to set it up with macOS Sierra (10.12.x)