Unfortunately you can't transfer scriptObjects and the like.
What you'd have to do would be to have something like this on the client:
function clientCmdDoStuff(%a,%b,%c,%d,%e,%f)
{
}
And this on the server:
commandToClient(%client,'DoStuff',%varA,%varB,%varC,%varD,%varE,%varF);
You would transfer all the scriptobject data like that and then recreate it client-sided.