Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local ReplURL = "" --Place the repl.it project URL inside of the quotes
- local RankID = ""
- local Key = ""
- function rankUser(UserId, RoleId)
- game:GetService("HttpService"):GetAsync(ReplURL .. "ranker?userid=" .. UserId .. "&rank=" .. RoleId .. "&key=" .. Key)
- end
- game.ReplicatedStorage.Rank.OnServerEvent:Connect(function(Player)
- rankUser(Player.UserId, RankID)
- Player:Kick('You have been ranked!')
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement