I believe creating Roblox group bots or similar shouldn’t be limited to only a few select programming languages that might not be easy to learn. This is a small project as of release, so there’s 100% going to be bugs that I haven’t discovered. If the project actually begins to pick up a following, I’ll begin adding a lot of new features and making my code more efficient.
- This project is compatible with Discordia which has a tutorial here.
- This project is written with Luvit and inspired by Noblox.js
How to install:
- First off, we need to install Luvit. Follow the steps there provided for your specific platform.
- Now we need to install the dependencies, this part is pretty easy once you’ve installed Luvit.
lit install iiToxicity/rbx.luato install the dependencies.
I’m going to create a file named
test.lua for an example. Your file directory should look like this or similar. Let’s get started by creating the client!
local roblox = require("Roblox"); local client = roblox.client();
Now, we must authorize the client to get to the next stage. The authorization is your
.ROBLOSECURITY cookie. You should always use an alternate account for stuff like this to prevent potential damage from being done on your main account with faulty code or similar. You’ll need to google around to get the cookie, as there are so many varieties of browsers. Once you have it, it’s super straightforward from here.
- Have your cookie?
- Don’t wanna use this with an account?
client:run() --> This will also work, but it'll take away all functions that require authorization.
- But wait, how do I run functions now?
You’ll need to register a ready callback like this:
client:on("ready",function() print("Client ready"); end)
You can then construct code inside the callback with our documentation.
Always remember, if you still need help feel free to join our Discord for support.
Here’s a final example:
local roblox = require("Roblox"); local client = roblox.client(); client:on("ready",function() local success,response = client.group.shout(123456,"A group shout."); print(success,response); end) client:run("ROBLOSECURITY HERE")
Have fun developing! If you experience any issues, please report them to me.