How to instantiate gameobject at the point of collision

What doesn’t work in this code?

Use code tags next time Using code tags properly
Docs if needed:
Unity - Scripting API: MonoBehaviour.OnParticleCollision(GameObject)