Need help with this script, for making meshes clickable

Maybe you can try the shader from @Pryme8: