If i get some likes, I will upload a video how I managed to do this. This is not easy to do. If you flash a custom Rom that wont pass safetynet test, this is the best solution, because Magisk wont be able to fix safetynet status when you fail safetynet test before it is even rooted.
If you like my Video i would be really happy, otherwise thanks for watching