Need help on scripting ranking error

Yes, I have discord. 49dec#6526

alright i sent you a friend request

I think I solved it…

[ 10:19 PM ]

I was tampering around on roblox studio for it

[ 10:19 PM ]

and I think i found out the solution

[ 10:19 PM ]

local HttpService = game:GetService(“HttpService”) local Server = require(script.Server) game.ReplicatedStorage.RankPlayer.OnServerEvent:Connect(function(player, rank) local groupId = 2941416 Server.SetRank(groupId, player.UserId, rank) end)

[ 10:19 PM ]

instead of writing a local rankId = ???

[ 10:19 PM ]

which isnt possible

[ 10:19 PM ]

i changed it to rank

[ 10:19 PM ]

and

[ 10:20 PM ]

I added in a NumberValue inside the remote event “RankPlayer”

[ 10:20 PM ]

and i demote myself back to E1

[ 10:20 PM ]

and checked my rank

[ 10:20 PM ]

it said e8/e9

1 Like