Client
Client plugins can be used to send messages, connect remote events, create bubble chats, and connect game events.
Bubble Chat
Bubble chat is a feature that adds messages over users heads when they speak. The plugin API allows you to create bubble chat for non-player objects super easily.
newBubbleChat
This method allows you to create a "bubble chat speaker" for any object. It will return a table of functions to use.
Type | Name |
object | bubble chat adornee |
name | GUI name |
Bubble chat functions:
say
This method allows you to make an actual chat bubble. And that's pretty much it! All you need to do is create a link between the part and the bubble chat and then you can make it say whatever you need.\
Type | Name |
string | message |
getUI
This method will return the chat bubble's UI in PlayerGui.
System Messages
System messages are also super easy to do. All you need to do is specify the message and channel name (usually "all.")
Type | Name |
string | message |
string | channel name |
Events
friendJoined
This event is fired when any friend of the LocalPlayer joins.
playerBlocked
This event is fired when the LocalPlayer blocks an in-game user.
playerUnblocked
This event is fired when the LocalPlayer unblocks an in-game user.
playerFriended
This event is fired when the LocalPlayer adds someone as a friend in-game.
playerUnfriended
This event is fired when the LocalPlayer removes a friend in-game.
Methods
quickMessage
This method allows you to quickly forge a message for the client, useful for system messages to the client / warnings.
Type | Name |
string | username |
string | message |
color3 (optional) | name color |
color3 (optional) | text color |
getPermissions
This method returns a number that represents the player's rank that was set using the configuration.
Type | Name |
player object | user |
getBlockedUsers
This method returns a table of all users that the LocalPlayer has blocked.
Variables
userPlatform
This variable tells you what platform the user is on.
Platform type |
Desktop |
Mobile |
Console |
Last updated