How to Create a Rank Management System using Glitch

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.

Is HttpService enabled for your place? Are there any errors in the output/logs?

help image

My cookie is valid, so I don’t know what the issue is.

HttpService is on, and no errors in glitch or console (client and server).

The cookie probably expired. Try getting a new one and putting it in.