Advertisement
Guest User

Untitled

a guest
Apr 1st, 2020
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. local groupid = 5313408
  2. local groupid2 = 5071184
  3. game.ReplicatedStorage.ChangeTeam.OnServerEvent:Connect(function(player,teamColor)
  4. if player:GetRankInGroup(groupid) >1 and teamColor == "Dark blue" then
  5. player.TeamColor = teamColor
  6. player:LoadCharacter()
  7. end
  8. if player:GetRankInGroup(groupid2) >1 and teamColor == "Lime green" then
  9. player.TeamColor = teamColor
  10. player:LoadCharacter()
  11. end
  12. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement