Error in valueChanged() event. Version 8.0.5

I have created one function in shared folder and tried to call that function on valueChanged() event of one of the tag but getting error as follows :
AttributeError: ‘com.inductiveautomation.ignition.common.script.Scr’ object has no attribute

can anyone help me about how to call the function from share folder on valuechanged event in latest version of Ignition 8.0.5

First, is the shared folder and script in the Global Scripting Project? (This is new for v8, as project inheritance changed the way shared vs. project resources work.)

Are you sure there are no syntax errors in that script module? There would be a log entry in the gateway if there are compile errors.