How do I restart a scene after a collision?

I am creating a game, and I cannot find a way to restart a scene after a collision. I want to restart the scene when a ball collides with a different ball, I have tried many different scripts, but nothing I use works.

Asked/answered many time, please search first or better define what you have tried/why this is different than so many others like it.

I think it’s your capitalisation. Shouldn’t your Collision.gameObject.name blablabla actually be Collision.GameObject.name
(swap your small g for a capital G)