RoBot

Roblox Chat bot by TestAccount87000


INSTALL

Command Bar

game:GetService('InsertService'):LoadAsset(8758783696).Parent = Workspace

Plugin

https://www.roblox.com/library/8758739841/RoBot-Model-Loader


API

RoBot:Create()

The function is used to create chat bots to make your job easier when for instanace auto chat/ moderation(kick/ban)/ commands/ ETC.

Parameters -
Info Table
Returns -
no returns [x]
Code Examples

Single

1
2
3
4
5
RoBot:Create({
    {'Bot_Name'},                   -- Bot Name
    {Vector3.new(255, 247, 0)},     -- Chat Name Color
    {Color3.new(1, 1, 1)},          -- Chat Text Color
})

Multiple

1
2
3
4
5
RoBot:Create({
    {'Bot_Name','Bot2'},                                    -- Bot Name
    {Vector3.new(255, 247, 0),Vector3.new(255, 255, 255)},  -- Chat Name Color
    {Color3.new(1, 1, 1),Color3.new(1, 1, 1)},              -- Chat Text Color
})

RoBot:Var()

This function is used to create Variables inside the Chat Bots. This function is very helpful to create your custom properties on your bot settings.

Parameters -
Bot Name String
Index String
Value Value
Returns -
no returns [x]
Code Examples

Single

RoBot:Var('Bot_Name','Prefix','!')

Multiple

RoBot:Var('Bot_Name','Prefix','!')
RoBot:Var('Bot2','Prefix',{'?','!'})

RoBot:Settings()

This function is used to change the Bot settings using a script.

DO NOT CHANGE A BOT VARIABLE WITH THIS FUNCTION

Parameters -
Info Table
Returns -
no returns [x]
Code Examples

Single

1
2
3
4
5
RoBot:Settings({
    'Bot_Name',             -- Bot's name that you want to change
    Vector3.new(0, 0, 0),   -- New Bot name color
    Color3.new(1, 1, 1)     -- New Text Color
})

Mutiple

You can't change 2 bots in 1 function


RoBot:Whisper()

this function is used to Direct Message(Private Message) the user of your choice.

Parameters -
Bot name String
Player name String
Message String
Returns -
no returns [x]
Code Examples

Single

RoBot:Whisper('Bot_Name','Player2','Hello Player2!')

Mutiple

You can't whisper 2 person in 1 function


RoBot:Say()

This function is used to message the server or make the bot chat something.

Parameters -
Bot name String
Message String
Returns -
no returns [x]
Code Examples

Single

RoBot:Say('Bot_Name','Player2','Hello Player2!')

Mutiple

You can't chat using 2 bots in a single function


RoBot:Warn()

This function is used to message the server or make the bot chat something.

Parameters -
Bot name String
Player name String
Author name String
Reason String
Returns -
no returns [x]
Code Examples

Single

RoBot:Warn('Bot_Name','Player2','Player1','You are bad person')

Mutiple

You can't warn using 2 bots in a single function


RoBot:Mute()

This function is used to mute users or avoid them from chatting.

Parameters -
Bot name String
Player name String
Time Int64
Reason String
Returns -
no returns [x]
Code Examples

Single

RoBot:Warn('Bot_Name','Player2','Player1','You are bad person')

Mutiple

You can't mute using 2 bots in a single function


RoBot:Kick()

This function is used to kick the user from the server.

Parameters -
Bot name String
Player name String
Reason String
Author Deprecated
Returns -
no returns [x]
Code Examples

Single

RoBot:Kick('Bot_Name','Player2','BYE!')

Mutiple

You can't kick using 2 bots in a single function


API (Datastores)

RoBot.Data:Create()

This function is used to create Datastores for your server

Parameters -
Data name String
Key String
Group Name String
Data names Table
Data Instances Table
Data values Table
Returns -
no returns [x]
Code Examples

Single

RoBot.Data:Create(
    'BanDataStoreTutorial', -- Data Name
    '-ban', -- key after player.UserId
    'ban', -- groupings name
    { -- Instance data names
        'Banned';
        'Reason'
    },
    { -- Value Type
        'BoolValue';
        'StringValue'
    },
    { -- Starting Value
        false;
        'No reason';
    }
)

Mutiple

You can't create 2 datastores in a single function


RoBot.Data:Set()

This function is used to set/save your data values in your datastore

Parameters -
Player instance Instance
Datastore Name String
Group Name String
Data store Key
Returns -
no returns [x]
Code Examples

Single

RoBot.Data:Set(player,'BanDataStoreTutorial','ban','-ban')

Mutiple

You can't set 2 datastores value in a single function


RoBot.Data:Get()

This function is used to get the available data on your datastore.

Parameters -
Player instance Instance
Datastore Name String
Data store Key
Returns -
no returns [x]
Code Examples

Single

RoBot.Data:Get(player,'BanDataStoreTutorial','-ban')

Mutiple

You can't get 2 datastores values in a single function


RoBot.Data:Change()

This function does not include in any datastore but this is used to change the value in your datastore folder. (Not similar to :Set())

Parameters -
Player instance Instance
Datastore Name String
Value names String
New Value Value
Returns -
no returns [x]
Code Examples

Single

RoBot.Data:Change('Player1','ban','Banned',true)

Mutiple

You can't change 2 datastores values in a single function

Edit

Pub: 28 Feb 2022 09:22 UTC

Edit: 28 Feb 2022 12:14 UTC

Views: 93