Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

How to I change a players rank in a group from a script?

Asked by
WindNT 16
7 years ago

Hello! I am making a group game and was wondering if I can change a players rank in the group from a script in the game. This would make ranking a lot easier as when players reach a certain benchmark they will automatically be ranked up. I have seen this before but am not sure how to go about it.

Any help will be appreciated!

Cheers, WindNT

0
You can't, otherwise people would have made games and give commands to make them selves leader in a certain group. BlackOrange3343 2676 — 7y
1
I'm pretty sure you can do this, I have seen it done before. I think you have to be the leader in the group and bots in the group have to be a higher rank than the player you're promoting. AdvancedCode 136 — 7y
0
You can, but there isn't one in http://api.roblox.com/docs. Only GETs info about a certain group. httpOmqCxpcake 70 — 7y

1 answer

Log in to vote
1
Answered by 7 years ago

You need a server. Bit off topic reply, sorry.

A simple HTTP server with either PHP, or ASP.NET.

Make a server side script that takes in inputs, parse that data. Use URL Encode because it will be much easier. Here's an example:

http://server.com/rankup.php?username=TESTsubject0100&rankupto=Moderator

For after parsing that, use this linkroblox-js-server or Quenty's ROBLOX auto rank [Never used it before, no idea if it will work] Just look up a serverside script to rank someone up.

With ROBLOX's HTTP Client, you can POST data using URL Encode, the server should then take those inputs, and with the rank up script, rank them up.

0
Wow, that was very interesting and thanks for your detailed reply! I will look into this as I already have some servers. Thanks Again :D WindNT 16 — 7y
Ad

Answer this question