Hey there, I'm looking to have a way to change someone's rank in-game, and when looking through the playerlist script, I found this on lines 971-979:
local function onFollowButtonPressed()
if not LastSelectedPlayer then return end
--
local followedUserId = tostring(LastSelectedPlayer.userId)
local apiPath = "user/follow"
local params = "followedUserId="..followedUserId
local success, result = pcall(function()
return HttpRbxApiService:PostAsync(apiPath, params, true, Enum.ThrottlingPriority.Default, Enum.HttpContentType.ApplicationUrlEncoded)
end)
This function allows a user to follow another user. I'm looking for a way to this with changing groups in-game, though. If this doesn't work, I might as well try my other method using the other httpservice.

2 comments
I thought HttpRbxApiService is locked for them CoreScripts.
Yeah you have to connect it through a bot with http service