Problem With A Function That Uses Scripting Support

Problem With A Function That Uses Scripting Support