Now I know that this exists : but I am confused on how I would use this. I want to make it so I can Get All The Groups the player is in then get the primary groups and do somthing with that. Here is my test code that didn't work.
function playerJoin(player)
local a = player:GetGroupsAsync()
print(a)
end
game.Players.PlayerAdded:connect(playerJoin)

3 comments
Is there any error messages in Script Analysis?
No. @SickAtHackers
http://wiki.roblox.com/index.php?title=API:Class/Player