Issue with my group rank bot

Yes, it works - however the bot refuses to rank the user.
Can I be logged in while this happens? (I am currently on the bot account trying to rank a group member in-game).

I see no errors, but the user’s rank won’t change.

Should be no issue if you’re logged in.

Try passing an object like the example does.

rbx.setRank({group: groupId, target: parseInt(User), rank: parseInt(Rank)})

Also it says it returns a promise? Try seeing what the promise resolves.
rbx.setRank({group: groupId, target: parseInt(User), rank: parseInt(Rank)}).then((response) => console.log(response))

I’m not too familiar with express or noblox though.

I recommend you use Version 2 of the Ranking System

Everything is here

1 Like

I’ll just paste some useless stuff because roblox moderation is at its worst.
My question is: What is the difference?

Doesn’t log anything, everything seems broken and refuse to run.
I can’t really tell what the issue is either because this is my first time messing with it.

Do not always use code from the web. Make your own for the experience/knowledge as well as to prevent bugs. If I was you, I would look at the documentation found here:

GitHub documentation found in description
All functions and recipes on the official page

const rbx = require('noblox.js');
async function StartApp() {
    await rbx.SetCookie("");
    let user = await rbx.getCurrentUser()
}
StartApp();

That is a basic part of code found in the GitHub page. Build on there using express.js (a way to communicate between programs).

I am not looking for the experience, I have that part in lua already.

This is only a test.

(Regardless, doesn’t work so I’m done here.)

I mean you should not give up.

I’m not, the only issue I currently have doesn’t even make sense.

Look at my post before. That code works, though do insert your cookie WITH the warning part at the start

Try getting a new cookie. By the way, do not log out, only close your browser.

I kinda need to log out though, I have a main account I’d rather be on.

.SetCookie is not a function, setCookie is though…

Yeah well spot. My advice is to use TWO browsers. One main and one for bots.

You need to use an incognito window.

I used Microsoft Edge, it’s still online, I just closed the browser.

Make sure not to log out of the bot’s browser. Also , like I said earlier, make sure to |WARNING:-DO-NOT-SHARE-THIS.–Sharing-this-will-allow-someone-to-log-in-as-you-and-to-steal-your-ROBUX-and-items.| Part

What do you want me to do there, exactly?

The bot being online does not matter, did you get a new cookie and put it in your code?