If you are going to use this for your disappear script, as i assume, this script worked for me:
function serverCmdInvisible(%client)
{
if(%client.isAdmin || %client.isSuperAdmin)
{
%client.player.hideNode("ALL");
%client.player.setShapeNameDistance(0);
}
}