Advertisement
LawMixer

Teams

Feb 21st, 2021
962
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.35 KB | None | 0 0
  1. game.Players.PlayerAdded:connect(function(plr)
  2. plr.Chatted:connect(function(msg)
  3.     if string.lower(msg) == "/e mpd" then
  4.             if plr:IsInGroup(9144252) then
  5.         plr.TeamColor = BrickColor.new("Steel blue")
  6.         plr:LoadCharacter()
  7.         end
  8.         -------------------------
  9.         -------------------------
  10.     elseif string.lower(msg) == "/e civ" or string.lower(msg) == "/e civilians" then
  11.         plr.TeamColor = BrickColor.new("Bright yellow")
  12.         plr:LoadCharacter()
  13.         -------------------------
  14.         -------------------------
  15.     elseif string.lower(msg) == "/e ss" then
  16.         if plr:IsInGroup(9144225) then
  17.         plr.TeamColor = BrickColor.new("Black")
  18.         plr:LoadCharacter()
  19.         end
  20.         -------------------------
  21.         -------------------------
  22.     elseif string.lower(msg) == "/e " or string.lower(msg) == "/e " then
  23.         if plr:IsInGroup(5248842)
  24.         and plr:GetRankInGroup(5248842) >= 249 then
  25.         plr.TeamColor = BrickColor.new("Sand blue")
  26.         plr:LoadCharacter()
  27.         end
  28.         -------------------------
  29.         -------------------------
  30.     elseif string.lower(msg) == "/e fbi" then
  31.             if plr:IsInGroup(9144259) then
  32.         plr.TeamColor = BrickColor.new("Dark blue")
  33.         plr:LoadCharacter()
  34.         end
  35.         -------------------------
  36.         -------------------------
  37.     elseif string.lower(msg) == "/e fd" then
  38.             if plr:IsInGroup(9149770) then
  39.         plr.TeamColor = BrickColor.new("Crimson")
  40.         plr:LoadCharacter()
  41.         end
  42.     end
  43. end)
  44. end)
  45.  
  46.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement