Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do you change a group rank in-game?

I work at a cafe place on ROBLOX which ranks you up depending on the amount of customers served.

The game has a rank leaderboard (playerlist) and when you reach a certain amount of 'points', your rank changes on the leaderboard and so does your rank in the cafe's group.

For example, if I'm Trainee [1] and I gain enough points to be ranked up, the leaderboard will change me to Trainee [2] and it will change my rank in the group to Trainee [2] too.

How can I code this?

3 comments

0

What leaderboard? Like in the playerlist or is it on a brick like a surface gui.

0

This would requirement knowledge in HttpService and having your own domain to create a bot that can change group ranks for you. Green Gods have successfully performed this, Roblox Assault Team (I might need correction on that) have successfully done this, but I have no clue myself.

0

@LordDragon-- Playerlist.

2 answers

You can't change a group-rank in game. You would have to use the HttpService, connect to a proxy, that uses a HTML submit form to change it, along with the RobloSecurity Cookie. So, the answer is probably no.

2 comments

1

I can say that this is the internal link used by Roblox that is called when you change someone's rank: /groups/api/change-member-rank?groupId=" + groupId + "&newRoleSetId=" + newRoleSetId + "&targetUserId=" + targetUserId

0

Thanks for the answer. I'm not that experienced with scripting as to do that, but it's here where it happens. http://www.roblox.com/PlaceItem.aspx?ID=168114710

You'd be better off with learning some basic PHP and cURL to achieve this. Just like 'TheRobertDoge' stated above; the ROBLOSECURITY cookie is needed to continuously stay logged in. Additionally, even after getting cURL to keep you logged in; you will actually have to grab your XRSF Token from your Roblox page itself.

Anything that can be done with groups is READONLY. There is no method that allows you to write any data to groups on the site itself.

You would really be best off using a user-made Web API. I've designed one that works; however, according to the guideliness on SH, I cannot post it because you'd actually have to submit login information (obviously) for it to wwork.

This discussion is preserved as it was. New answers, comments, and votes are closed.