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

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

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

3 comments

0

You can't, otherwise people would have made games and give commands to make them selves leader in a certain group.

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.

0

You can, but there isn't one in http://api.roblox.com/docs. Only GETs info about a certain group.

1 answer

✓ Accepted answer

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.

1 comment

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

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