I wanted to make two commands. !promote and !demote . But now I have the problem, how to rank people within a group with a command from a game? Are there any APIs where I can enter the Security Cookie? Or how would I set everything up so it works. Help-
How you would be required to do this is by running some code outside on a web server. As an example you could make a glitch project and then run the URL to start the project giving the parameters required.
On the coding side of it I use javascript and know that you can use something like Bloxy or Noblox to then do the ranking and stuff. You could use the Roblox web API directly but unless you know how to use it I suggest not. Below I will link a vid which explains how to do what you are looking from.
This is pretty helpful in achieving what you want to do - although you’ll have to update certain things as noblox has changed since this post was made. They discuss it in the thread.
It’s not money, you could use either Glitch or Repl. I recommend the Repl option, it’s free & much more easier since it is focused on through the instruction manual.