Node unblocker Roblox

Noblox.js is a node module that diverged from sentano’s roblox-js module. This branch was created when sentanos stopped maintaining roblox-js repository. You can use Noblox.js like Roblox using Node.js interface. You can use noblox.js with Roblox’s HttpService feature to create scripts that interact with websites. You should have installed Node.js in your system to use noblox.js. 

# Run this to install noblox.js locally to your repository. 
$ npm install noblox.js --save

# if you're using yarn:
$ yarn add noblox.js

# Run this instead to install noblox.js globally so you can use it anywhere.
$ npm install noblox.js -g

As the first step, remove all file codes related to usages of login or cookieLogin methods.

Run setCookie in your cookie to internally store and validate it. This will not perform cookie refresh automatically. 

Roblox .ROBLOSECURITY cookies expire after a certain length of time. To prevent this use the refreshCookie function. Store the cookie somewhere.

Let’s try it with an example. Open Roblox and login

 Then press ctrl+Shift+i and click application. Then find .ROBLOSECURITY and copy the contents and paste it in rbx.setCookie( tokenHere ). 

const rbx = require("noblox.js")
async function startApp () {
    await rbx.setCookie("_|WARNING:-DO-NOT-SHARE-THIS.--Sharing-this-will-allow-someone-to-log-in-as-you-and-to-steal-your-ROBUX-and-items.|_F9F1EA531adk")
    // Do everything else, calling functions and the like.
    let currentUser = await rbx.getCurrentUser()
}