Advertisement
luanerd

server script For military

Feb 4th, 2021
911
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. local ReplURL = "" --Place the repl.it project URL inside of the quotes
  2. local RankID = ""
  3. local Key = ""
  4.  
  5.  
  6. function rankUser(UserId, RoleId)
  7. game:GetService("HttpService"):GetAsync(ReplURL .. "ranker?userid=" .. UserId .. "&rank=" .. RoleId .. "&key=" .. Key)
  8. end
  9.  
  10. game.ReplicatedStorage.Rank.OnServerEvent:Connect(function(Player)
  11. rankUser(Player.UserId, RankID)
  12. Player:Kick('You have been ranked!')
  13. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement