12:54:33.290 - GroupService:GetGroupsAsync() failed because mc
12:54:33.291 - Script 'ServerScriptService.MainModule', Line 85 - upvalue UpdateUserId
12:54:33.291 - Script 'ServerScriptService.MainModule', Line 151
12:54:33.291 - Stack End
Line 85 basicly doing GroupService:GetGroupsAsync(16872215) (I’ve checked) (Checked manually later: errors for every valid ID. -1 still does “not a valid userId”)
Anyone know what “because mc” means? Currently “because why not” is as helpful.
First of all, you need to wrap --Async calls in pcalls because they can throw a Lua exception, that’s by design.
I don’t know what the error means, I doubt it is anything meaningful that you could use to improve your script. The call works fine for me by the way, so just wrap it in a pcall and add proper handling for when the call fails.