Can someone help me fix this script for 3dsmax 2018 Nitrous DX9?

Hello there can someone help me with this error? ( )

the script is this one

but it gives some error in DX9 mode!(since my 3ds max in DX11 mode has a bug and i cant model or animate in it but in dx9 mode is okay)
Please I was realy happy when i found this script but becouse of my crap 2018 3ds max i cant use it in dx11 mode