Error running Lua task:Client script attempted to access a server-only field on an object

Ask for advice

You "NewScript" is accessing the "serverUserData" of an object. The problem is that to acess the "serverUserData" property of an object, your script needs to be within a server context folder however, your "NewScript" is within a client context folder.