Creating a group ranking system

I’m currently wondering how to make a group ranking system, where I can call a function from a module and it will rank a player to a specific rank it says in that script (NOT THE MODULE)

You’d need to have that module to send a request to an external server with a custom-made program which has access to the Roblox API and is logged into a bot account on Roblox which has high enough clearance within the group to provide all of the ranks necessary. Then you can send a POST request with the information from the function.

I currently have one, but it keeps logging the bot out, due to Roblox’s new cookie changes. Do you have an alternative?