3ds Max 2021 Old Script Help (Decal Planes)

Hi,

I was looking for a script to create planes with decals (with opacity) maps easier and more intuitive which I can scatter on any surface and it will conform correctly.

I’ve found this script:

http://www.scriptspot.com/3ds-max/scripts/decal-script-object

Which seems to do exactly what I’m looking for. The preview for the decal is perfect but the UVs for the plane that it creates is messed up. Ideally I would like the UVs to automatically cover the entire 0-1 UV space. See attached images.

I was hoping if anyone can take a look at this script and give me some insight on how it may be adjusted to achieve the correct result. The script is over 10 years at this point but I think can be extremely handy if the UV’s were correct.

If not, I wonder if there is any other more streamlined tools out there.

Please let me know if anyone has any insight,Thanks!