Getting group name using script

I am trying to get the name, and ID of a group using a script but I’m not sure how. I tried using the code below but I think I wrote it wrong. Any Ideas?

local PlaceInfo = game:GetService("MarketplaceService"):GetProductInfo(game.PlaceId)
local GroupName = game:GetService("GroupService"):GetGroupInfoAsync(PlaceInfo.Creator.Name)
local groups = game:GetService("GroupService")
local groupId = 1 --change to id of group

local success, result = pcall(function()
	return groups:GetGroupInfoAsync(groupId)
end)

if success then
	if result then
		print(result.Name)
	end
else
	warn(result)
end

https://developer.roblox.com/en-us/api-reference/function/GroupService/GetGroupInfoAsync

8 Likes