Roblox Wiki
Roblox Wiki
38,934
pages

The GroupService class, added in version 0.164, is a service responsible for simple group functions. It inherits from Instance and cannot be instantiated.

Methods

GetAlliesAsync(groupId: int64): StandardPages

  • YieldsThis function can yield the script it is used in.
Parameters
NameType
groupIdint64
  • Thread safety: unsafe

GetEnemiesAsync(groupId: int64): StandardPages

  • YieldsThis function can yield the script it is used in.
Parameters
NameType
groupIdint64
  • Thread safety: unsafe

GetGroupInfoAsync(groupId: int64): Variant

  • YieldsThis function can yield the script it is used in.
Parameters
NameType
groupIdint64
  • Thread safety: unsafe

GetGroupsAsync(userId: int64): Array

  • YieldsThis function can yield the script it is used in.
Parameters
NameType
userIdint64
  • Thread safety: unsafe

PromptJoinAsync(groupId: int64): GroupMembershipStatus

  • YieldsThis function can yield the script it is used in.
This class member is missing documentation. Create or add to its subpage at Class:GroupService/PromptJoinAsync.
  • Thread safety: unsafe

PromptJoinCompleted(groupId: int64, success: bool, groupMembershipStatus: GroupMembershipStatus, errorMessage: string): null

This class member is missing documentation. Create or add to its subpage at Class:GroupService/PromptJoinCompleted.
  • Security: RobloxScriptSecurity.
  • Thread safety: unsafe

Events

ShowJoinPrompt(groupId: int64)

This class member is missing documentation. Create or add to its subpage at Class:GroupService/ShowJoinPrompt.
  • Security: RobloxScriptSecurity.
  • Thread safety: unsafe

External links[]