Github: Click me! | Roblox model: Click me! | License: Licensed under MIT
Introduction
Greetings, everyone. Today, I am releasing my first ever module, Luablox. What is Luablox? Luablox is a reliable endpoint URL that interacts with noblox.js and can be used to execute various tasks, mainly group-wise. I have seen other modules created in the past, but those were outdated or were using Glitch, something extremely unreliable considering how long it takes for HTTP requests to execute and for the project to wake up. Hence, I present to you Luablox, a 24/7 online endpoint for groups to use!
How to install
Intalling Luablox to your own game is fairly easy. After downloading the model from the Roblox library, enter Studio and insert it via the My Models
tab in the Toolbox
. After inserting your model, make sure to move the Server
script over to ServerScriptService
for it to properly function. You can now begin using Luablox!
Documentation
Here is full documentation of what Luablox can currently do:
server.GroupShout()
Parameters:
- cookie - Your bot’s account cookie, see below on how to obtain it
- groupid - The group ID that the ranking will take place at. Note: Please ensure that the bot has shout permissions inside the group for it to work, else it will sadly not work.
- shoutstring - The string you wish for the bot to output inside the shout message in the group.
Permissions required: Create shout messages.
server.setRank()
Parameters:
- cookie - Your bot’s account cookie, see below on how to obtain it
- groupid - The group ID that the ranking will take place at. Note: Please ensure that the bot has ranking permissions inside the group for it to work, else it will sadly not work.
- target - The user ID of the player you wish to set the rank.
- rankid - The rank ID that the user will receive upon executing this function.
Permissions required: Manage member roles.
server.Promote()
Parameters:
- cookie - Your bot’s account cookie, see below on how to obtain it
- groupid - The group ID that the ranking will take place at. Note: Please ensure that the bot has ranking permissions inside the group for it to work, else it will sadly not work.
- target - The user ID of the player you wish to promote.
Permissions required: Manage member roles.
server.Demote()
Parameters:
- cookie - Your bot’s account cookie, see below on how to obtain it
- groupid - The group ID that the ranking will take place at. Note: Please ensure that the bot has ranking permissions inside the group for it to work, else it will sadly not work.
- target - The user ID of the player you wish to promote.
Permissions required: Manage member roles.
More to be added in future versions.
Code examples
Creating a group shout:
local server = -- Replace this with the path to the server module. Make sure to require() it as well.
local cookie = "" -- Replace this with the bot's account cookie.
local groupId = 6074059 -- You can replace this with your own group ID.
server.GroupShout(cookie, groupId, "This is a test message!")
Promoting a user in the group:
local server = -- Replace this with the path to the server module. Make sure to require() it as well.
local cookie = "" -- Replace this with the bot's account cookie.
local groupId = 6074059 -- You can replace this with your own group ID.
game.Players.PlayerAdded:Connect(function(player)
server.Promote(cookie, groupId, player.UserId)
end)
Final remarks
I hope my module will help a lot of groups with their projects, whether that can be an application center with an automatic system ranking or anything possible you can imagine. If you are a more experienced programmer, feel free to copy the source from GitHub and create your own module by forking the source code. The module is relatively new so if you locate any bugs, please report them on GitHub or down below along with any errors you might get so as to get them fixed. Here are some extras to end off.
Trust and Safety
To avoid any further requests in the future with the topic “How can I trust the module?” please see the source code at Luablox - Replit and match it up with the URL used inside the Lua server script:
I do not and would never have any bad intents and I am not in any way storing or caching any account cookies, data collected by HTTP requests such as cookies are voided so they are unknown to me. Feel free to use this module at max safety
How to get an account cookie
Chrome: Sign up for a new bot account, make sure to remember the credentials so you don’t get locked out. When at the home page, right-click your window, and select Inspect. This window should pop up:
Next, head over to the Application tab:
Head over to cookies → https:/ /www.roblox.com
Scroll down until you find .ROBLOSECURITY, click on it and copy the contents of it, and there you have it!
WARNING: DO NOT share the account cookie with anyone you don’t trust as they can access the bot and rank or demote everyone in the group.