Facilitates social functions that impact relationships made on the Roblox platform.
- Memory category
- Instances
- Own members
- 38
- Inherited members
- 75
- Subclasses
- 0
- Siblings
- 608
Properties23
Property categoryBehavior
- Determines if an
Instanceand its descendants can be cloned usingInstance:Clone(), and can be saved/published. - Deprecated: This deprecated property is a variant of
Instance.Archivablewhich should be used instead.Use Archivable instead.
Property categoryData
Property categoryPermissions
- The set of capabilities allowed to be used for scripts inside this container.
- Indicates whether the instance is inside a sandboxed container.
- When enabled, the instance can only access abilities in its
Capabilitieslist.
No properties match the filters.
Methods65
Object:GetPropertyChangedSignal( property: string): RBXScriptSignal Get an event that fires when a given property of the object changes.Parameters Parameter Description property: stringThe property to connect to.Returns Type Description RBXScriptSignalA signal that fires whenever the property changes.- Returns true if an object's class matches or inherits from a given class.
Parameters Parameter Description className: stringThe class against which the Object's class will be checked. Case-sensitive.Returns Type Description booleanDescribes whether the Object's class matched or is a subclass of the given class. - Deprecated: This deprecated function is a variant of
Object:IsA()which should be used instead.Parameters Parameter className: stringReturns Type booleanUse IsA instead.
- Applies a tag to the instance.
Parameters Parameter Description tag: stringThe tag to apply to the instance. - This method destroys all of an instance's children.
- Create a copy of an instance and all its descendants, ignoring instances that are not
Archivable.Returns Type Description InstanceA copy of the instance, ornilif the instance is notArchivable. - Sets the
Instance.Parentproperty tonil, locks theInstance.Parentproperty, disconnects all connections, and callsDestroy()on all children. Instance:FindFirstAncestor( name: string): Instance Returns the first ancestor of theInstancewhoseInstance.Nameis equal to the given name.Parameters Parameter Description name: stringTheInstance.Nameto be looked for.Instance:FindFirstAncestorOfClass( className: string): Instance Returns the first ancestor of theInstancewhoseObject.ClassNameis equal to the given className.Parameters Parameter Description className: stringTheObject.ClassNameto be looked for.Instance:FindFirstAncestorWhichIsA( className: string): Instance Returns the first ancestor of theInstancefor whomObject:IsA()returns true for the given className.Parameters Parameter Description className: stringTheObject.ClassNameto be looked for.Instance:FindFirstChild( name: string, recursive: boolean? = false): Instance Returns the first child of theInstancefound with the given name.Parameters Parameter Description name: stringTheInstance.Nameto be searched for.recursive: boolean? = falseWhether or not the search should be conducted recursively.Instance:FindFirstChildOfClass( className: string): Instance Parameters Parameter Description className: stringTheObject.ClassNameto be looked for.Instance:FindFirstChildWhichIsA(className: string,recursive: boolean? = false,): Instance Returns the first child of theInstancefor whomObject:IsA()returns true for the given className.Parameters Parameter Description className: stringTheObject.ClassNameto be searched for.recursive: boolean? = falseWhether or not the search should be conducted recursively.Instance:FindFirstDescendant( name: string): Instance Returns the first descendant found with the givenInstance.Name.Parameters Parameter Description name: stringTheInstance.Nameto search for.- Returns the
Actorassociated with the Instance, if any. Instance:GetAttribute( attribute: string): any Returns the value which has been assigned to the given attribute name.Parameters Parameter Description attribute: stringThe name of the attribute being retrieved.Returns Type Description anyThe value which has been assigned to the given attribute name. If no attribute has been assigned,nilis returned.Instance:GetAttributeChangedSignal( attribute: string): RBXScriptSignal Returns an event that fires when the given attribute changes.Parameters Parameter Description attribute: stringThe name of the specified attribute for which the change signal is being returned.Returns Type Description RBXScriptSignalAn event that fires when the given attribute changes.- Returns a dictionary of the instance's attributes.
Returns Type Description { [string]: any }A dictionary of string → variant pairs for each attribute where the string is the name of the attribute and the variant is a non-nil value. - Returns an array containing all of the instance's children.
Returns Type Description { Instance }An array containing the instance's children. Instance:GetDebugId( scopeLength: number? = 4): string Returns a coded string of the debug ID used internally by Roblox.Parameters Parameter Description scopeLength: number? = 4The scope length.Returns Type Description stringThe Debug ID string.- Returns an array containing all of the descendants of the instance.
Returns Type Description { Instance }An array containing the instance's descendants. - Returns a string describing the instance's ancestry.
- Returns the styled or explicitly modified value of the specified property, or else the default property value if it hasn't been styled/modified.
Parameters Parameter Description name: stringName of the property to query.selector: string?Optional selector for the pseudo instance you are targeting on the instance.Returns Type Description anyThe styled or explicitly modified value of the specified property, or else the default property value if it hasn't been styled/modified. Instance:GetStyledPropertyChangedSignal( property: string): RBXScriptSignal Returns an event that fires when the given style property changes on the instance.Parameters Parameter Description property: stringName of the style property for which to listen for changes.Returns Type Description RBXScriptSignalEvent that fires when the given style property changes.- Gets an array of all tags applied to the instance.
Returns Type Description { any }An array of strings, each representing a tag applied to the instance. - Check whether the instance has a given tag.
Parameters Parameter Description tag: stringThe tag to check for on the instance.Returns Type Description booleantrueif the instance has the given tag,falseotherwise. Instance:IsAncestorOf( descendant: Instance): boolean Returns true if anInstanceis an ancestor of the given descendant.Instance:IsDescendantOf( ancestor: Instance): boolean Returnstrueif anInstanceis a descendant of the given ancestor.Instance:IsPropertyModified( property: string): boolean Returnstrueif the value stored in the specified property is not equal to the code-instantiated default.Parameters Parameter Description property: stringName of the property to query.Returns Type Description booleanBoolean indicating whether the property is modified from its code‑instantiated default.Instance:QueryDescendants( selector: string): { Instance } Returns an array containing all descendants of the instance that match theselectorstring.Parameters Parameter Description selector: stringSelector string used to filter elements.Returns Type Description { Instance }An array of instances (empty if nothing matched the selector).- Removes a tag from the instance.
Parameters Parameter Description tag: stringThe tag to remove from the instance. Instance:ResetPropertyToDefault( property: string) Resets a property to its default value.Parameters Parameter Description property: stringName of the property to reset.Instance:SetAttribute( attribute: string, value: any) Sets the attribute with the given name to the given value.Instance:WaitForChild( childName: string, timeOut: number): Instance Returns the child of theInstancewith the given name. If the child does not exist, it will yield the current thread until it does.Parameters Parameter Description childName: stringTheInstance.Nameto be looked for.timeOut: numberAn optional time out parameter.- Deprecated: This item is deprecated in favor of
Instance:Destroy()andInstance:ClearAllChildren(). If you must remove an object from the game, and wish to use the object later, set itsParentproperty tonilinstead of using this method.
Sets the object'sParenttonil, and does the same for all its descendants. - Deprecated: This item has been superseded by
Instance:GetChildren()which should be used in all new work.
Returns an array of the object's children.Returns Type Description { Instance }Array of child objects/instances.Use GetChildren instead.
- Deprecated: This deprecated function is a variant of
Instance:Clone()which should be used instead.Returns Type InstanceUse Clone instead.
- Deprecated: This deprecated function is a variant of
Instance:Destroy()which should be used instead.Use Destroy instead.
Instance:findFirstChild( name: string, recursive: boolean? = false): Instance Deprecated: This deprecated function is a variant ofInstance:FindFirstChild()which should be used instead.Returns Type InstanceUse FindFirstChild instead.
- Deprecated: This deprecated function is a variant of
Instance:GetChildren()which should be used instead.Returns Type { Instance }Use GetChildren instead.
Instance:isDescendantOf( ancestor: Instance): boolean Deprecated: This deprecated function is a variant ofInstance:IsDescendantOf()which should be used instead.Parameters Parameter ancestor: InstanceReturns Type booleanUse IsDescendantOf instead.
- Deprecated: This deprecated function is a variant of
Instance:Remove()which has also been deprecated. Neither function should be used in new work.Use Remove instead.
Defined bySocialService23
- Indicates whether the given
Playercan invite other players to a call.Parameters Parameter Description player: InstanceThePlayerinstance of the player potentially sending a call invite.Returns Type Description booleanWhether the specified player can send a call invite. SocialService:CanSendGameInviteAsync(player: Instance,recipientId: User? = U1.AQAAAAAAAAAAAAAAAAAAAAA,): boolean Indicates whether the givenPlayercan invite other players.Parameters Parameter Description player: InstanceThePlayerinstance of the player potentially sending an invite.recipientId: User? = U1.AQAAAAAAAAAAAAAAAAAAAAAOptionalPlayer.UserIdof the potential recipient, used to check whether the sender can invite that specific recipient.Returns Type Description booleanWhether the specified player can send an invite.SocialService:GetEventRsvpStatusAsync( eventId: string): Enum.RsvpStatus Returns the local player's RSVP status for the given event.Parameters Parameter Description eventId: stringThe event ID of the event to prompt the player to change their RSVP status for. This must be a valid event ID that exists in the current experience, represented as a string (not a number).Returns Type Description Enum.RsvpStatusReturns anRsvpStatusindicating the player's current RSVP status for the event. If the player has not RSVP'd to the event, this will returnRsvpStatus.None.SocialService:GetExperienceEventAsync( eventId: string): { [string]: any }? Returns details for the specified experience event ornilif it is unavailable.Parameters Parameter Description eventId: stringThe string identifier of the event to retrieve. Must correspond to an event in the current experience.Returns Type Description { [string]: any }?A dictionary describing the event, ornilif the event does not exist, belongs to another experience, or is otherwise unavailable.- Returns an array of dictionaries containing data for all members of the specified party who are currently in the experience.
Parameters Parameter Description partyId: stringThe unique identifier of the party to retrieve member data for, corresponding to aPlayer.PartyIdvalue.Returns Type Description { any }An array of dictionaries representing the members of the specified party who are currently in the experience. SocialService:GetPlayersByPartyId( partyId: string): { Instance } Returns a table of all presently connectedPlayerobjects whosePlayer.PartyIdproperty matches the passedpartyId.Parameters Parameter Description partyId: stringThe unique identifier of the party to filter players by, corresponding to aPlayer.PartyIdvalue.Returns Type Description { Instance }SocialService:GetUpcomingExperienceEventsAsync( ): { any } Returns active and upcoming experience events for the current experience.Returns Type Description { any }An array of dictionaries describing each active or upcoming event in the current experience, ordered by soonest start time first.- Hides the calling player's self view.
SocialService:InvokeIrisInvitePromptClosed( player: Instance) Parameters Parameter player: InstanceSocialService:PromptFeedbackSubmissionAsync( options: { [string]: any }?) Prompts the player to submit feedback or a player support ticket about the current experience.Parameters Parameter Description options: { [string]: any }?OptionalDictionaryconfiguring the prompt. Supported keys: -FeedbackType(FeedbackType). Selects which feedback flow to display. Defaults toFeedbackType.Feedback.- Prompts the given
Playerwith the invite screen.Parameters Parameter Description player: InstanceThePlayerto prompt with the invite popup.experienceInviteOptions: Instance? = nilOptionalExperienceInviteOptionsobject for customizing the prompt. SocialService:PromptLinkSharingAsync(player: Player,options: { [string]: any }? = nil,): ...any Generates an expiring share link and prompts the givenPlayerwith the platform share sheet.Parameters Parameter Description player: PlayerPrompts the givenPlayerwith a Roblox platform-level share sheet with a generated share link.options: { [string]: any }? = nilDictionarythat specifies the configuration for the generated link. It includes the following optional key-value pairs:FallbackLinkId(string). Determines how this share link will direct player to once expired. Default to experience join link.ExpirationSeconds(number). Determines time to expiration once the share link is created. Truncates to nearest integer. Defaults to 86,400.PreviewTitle(string) Preview title of the share link.PreviewDescription(string) Preview description of the share link.PreviewAssetId(number) Image asset ID used for share link preview.LaunchData(string). Used to set a parameter inPlayer:GetJoinData()when a player joined using the generated share link.
Returns Type Description ...anyA tuple containing anPromptLinkSharingResultindicating the result of the link sharing prompt.- Prompts the given
Playerwith the phone book.Parameters Parameter Description player: InstanceThe player to prompt with the phone book.tag: stringString to help differentiate between various phone book "entry points" or similar. For example, you can pass a string defining what region of an experience the calling player's character is currently in. SocialService:PromptRsvpToEventAsync( eventId: string): Enum.RsvpStatus Prompts the localPlayerwith a prompt to change their RSVP status to the given event.Parameters Parameter Description eventId: stringThe event ID of the event to prompt the player to change their RSVP status for. This must be a valid event ID that exists in the current experience, represented as a string (not a number).Returns Type Description Enum.RsvpStatusReturns aRsvpStatusindicating the player's new RSVP status after the prompt is closed. If the player closes the prompt without changing their RSVP status, this will returnRsvpStatus.Noneor their oldRsvpStatusif they had already selected a status.SocialService:PromptRsvpToEventCompleted(eventId: string,success: boolean,rsvpStatus: Enum.RsvpStatus,previousRsvpStatus: Enum.RsvpStatus? = Enum.RsvpStatus.None,) Parameters Parameter eventId: stringsuccess: booleanrsvpStatus: Enum.RsvpStatuspreviousRsvpStatus: Enum.RsvpStatus? = Enum.RsvpStatus.NoneSocialService:ShowSelfView( selfViewPosition: Enum.SelfViewPosition? = Enum.SelfViewPosition.LastPosition) Shows the calling player's self view.Parameters Parameter Description selfViewPosition: Enum.SelfViewPosition? = Enum.SelfViewPosition.LastPositionThe position to place the self view .SocialService:SignalFeedbackSubmissionCompleted(feedback: string,options: { [string]: any }?,) Parameters Parameter feedback: stringoptions: { [string]: any }?SocialService:UpdatePlayerPartyData( partyId: string) Parameters Parameter partyId: stringSocialService:PromptLinkSharing(player: Player,options: { [string]: any }? = nil,): ...any Deprecated: UsePromptLinkSharingAsync()instead.Parameters Parameter Description player: PlayerPrompts the givenPlayerwith a Roblox platform-level share sheet with a generated share link.options: { [string]: any }? = nilDictionarythat specifies the configuration for the generated link. It includes the following optional key-value pairs:FallbackLinkId(string). Determines how this share link will direct player to once expired. Default to experience join link.ExpirationSeconds(number). Determines time to expiration once the share link is created. Truncates to nearest integer. Defaults to 86,400.PreviewTitle(string) Preview title of the share link.PreviewDescription(string) Preview description of the share link.PreviewAssetId(number) Image asset ID used for share link preview.LaunchData(string). Used to set a parameter inPlayer:GetJoinData()when a player joined using the generated share link.
Returns Type Description ...anyA tuple containing anPromptLinkSharingResultindicating the result of the link sharing prompt.Use PromptLinkSharingAsync instead.
No methods match the filters.
Events24
Object.Changed: RBXScriptSignal<( property: string)> Fires immediately after a property of the object changes, with some limitations.Parameters Parameter property: string
Instance.AncestryChanged: RBXScriptSignal<( child: Instance, parent: Instance)> Fires when theInstance.Parentproperty of this object or one of its ancestors is changed.Instance.AttributeChanged: RBXScriptSignal<( attribute: string)> Fires whenever an attribute is changed on theInstance.Parameters Parameter attribute: stringInstance.ChildAdded: RBXScriptSignal<( child: Instance)> Fires after an object is parented to thisInstance.Parameters Parameter child: InstanceInstance.ChildRemoved: RBXScriptSignal<( child: Instance)> Fires after a child is removed from thisInstance.Parameters Parameter child: InstanceInstance.DescendantAdded: RBXScriptSignal<( descendant: Instance)> Fires after a descendant is added to theInstance.Parameters Parameter descendant: InstanceInstance.DescendantRemoving: RBXScriptSignal<( descendant: Instance)> Fires immediately before a descendant of theInstanceis removed.Parameters Parameter descendant: Instance- Fires immediately before (or is deferred until after) the instance is destroyed via
Instance:Destroy(). - Fires whenever any style property is changed on the instance, including when a property is set to
nil. Instance.childAdded: RBXScriptSignal<( child: Instance)> Deprecated: This deprecated event is a variant ofInstance.ChildAddedwhich should be used instead.Parameters Parameter child: InstanceUse ChildAdded instead.
Defined bySocialService14
SocialService.CallInviteStateChanged: RBXScriptSignal<(player: Instance,inviteState: Enum.InviteState,)> Fires when a player's call invite state changes.Parameters Parameter player: InstanceinviteState: Enum.InviteStateSocialService.GameInvitePromptClosed: RBXScriptSignal<(player: Instance,recipientIds: { any },)> Fires when a player closes an invite prompt.SocialService.IrisInviteInitiated: RBXScriptSignal<( message: string)> Parameters Parameter message: stringSocialService.PhoneBookPromptClosed: RBXScriptSignal<( player: Instance)> Fires when a player closes the phone book prompt.Parameters Parameter player: InstanceSocialService.PlayerPartyDataChanged: RBXScriptSignal<( partyId: string)> Parameters Parameter partyId: stringSocialService.PromptInviteRequested: RBXScriptSignal<(player: Instance,experienceInviteOptions: Instance,)> SocialService.PromptIrisInviteRequested: RBXScriptSignal<(player: Instance,tag: string,)> SocialService.SelfViewHidden: RBXScriptSignal<( )> SocialService.SelfViewVisible: RBXScriptSignal<( selfViewPosition: Enum.SelfViewPosition)> Parameters Parameter selfViewPosition: Enum.SelfViewPositionSocialService.ShowPromptFeedbackSubmission: RBXScriptSignal<( feedbackType: Enum.FeedbackType)> Parameters Parameter feedbackType: Enum.FeedbackTypeSocialService.ShowPromptRsvpToEvent: RBXScriptSignal<( eventId: string)> Parameters Parameter eventId: string
No events match the filters.
Callbacks1
Defined bySocialService1
- Callback for when a call is placed from the phone book.
Parameters Parameter Description tag: stringString to help differentiate between various phone book entry points.callParticipantIds: { any }Array containing all of the players involved in the call. The caller will always be the first player in the array.Returns Type Description InstanceTable including thePlaceIdandReservedServerAccessCodekeys whose values are theDataModel.PlaceIdand the server access code returned byTeleportService:ReserveServerAsync(), respectively.
No callbacks match the filters.