How to Create a Rank Management System using Glitch

When the event is fired, .OnServerEvent, pass in the parameter of the player and a security code (suggested, handle how ever you want), then use:

For more on server events, check this out: RemoteEvent | Documentation - Roblox Creator Hub

1 Like

I am sorry, I am still confused. Any chance you can just make the simple script I just dont understand it.

No, I can not just make the script, sorry. I am here to help, not do it for you.

I can suggest you watch this tho: https://m.youtube.com/watch?v=3wkPekjQvKg

If you don’t understand a specific part, or need clarification, then you can ask here or message me.

You didn’t make this? Well, I don’t think your allowed to post somebody elses resources… I may be wrong.

This is a tutorial on how to use an open source API, not a resource.

The creator is just the person who can edit the GitHub scripts.

The creator of the current version did not create the original version.

1 Like

faso

Hey, I keep on getting the error above with Glitch.

Also, on Roblox, I get
HttpError: InvalidUrl.

Help please?

Make sure the link includes HTTP or HTTPS. For some reason your code won’t connect to the glitch site.

It does include both. My friend, who is a scripter has also looked into it and no fix for it too.

Would you mind including the script? (You can hash out the title part of the domain so that it looks something like https(s)://#####.glitch.me). Are you receiving any errors other than the InvalidUrl?

Hey there! Thanks for this, but I have one question. Where do I put the script that ranks the user, if they own those certain gamepasses. Do I put it in the main script, or…?

Added this part to the main post.

Ah right thank you, very much.

How can I make it kick the user, if they got ranked?

Use the kick function.

Did everything just like in your tutorial, but am facing a problem everytime I attempt to run my code:

2020-06-23

Here is the code itself:

local HttpService = game:GetService("HttpService")

local Server = require(script.Server)

---Group IDs

local MainGroupId = 5856538

local Level0RankId = 2

local Level1RankId = 3

local Level2RankId = 4

local SDGroupId = 4925277

local MDGroupId = 5050288

local ScDGroupId = 5050651

Server.SetRank(MainGroupId,1532431169,2)

Anyone able to give me a hint on how to fix my issue?

Server.SetRank() was a test function I ran.
Script is in “Main” script located in game.ServerScriptService.

Bot Account has group permissions to rank.

Your cookie may have expired!

Please create a new account and then enter the new cookie, oh, but before creating the new account, please take a look at this post to prevent that next time.

Ive got an issue because glitch aren’t allowing external requests atm meaning I don’t think it’ll work. Any fixes?

Regular HTTP requests to glitch are allowed, they only blocked pinging services such as UptimeRobot.

Oh ok, it just doesn’t work for me. I changed to another persons tutorial, still doesn’t work.