handlers.helloWorld = function(args, context){ try{ server.CreateSharedGroup({SharedGroupId: "test"}); } catch(err){ var message = "Could not create group" return {messageValue: message}; } var message = "Hello " + currentPlayerId + "!"; return {messageValue: message}; }
Im trying to learn how to code and use cloudscript, but cant figure out why this doesnt work. Any help is greatly appreciated