Advertisement
squidingtin

working ish

Nov 16th, 2018
224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.69 KB | None | 0 0
  1. print("Team switcher script activated")
  2.  
  3. local Player = game.Players.LocalPlayer
  4. Char = Player.Character
  5. Hum = Char.Humanoid
  6.  
  7.  
  8. Player.Chatted:connect(function(cht)
  9. if cht == "/e Guards" then
  10.     Blue()
  11. elseif cht == "/e guards" then
  12.     Blue()
  13.  
  14. elseif cht == "/e Pick" then
  15.     Grey()
  16. elseif cht == "/e pick" then
  17.     Grey()
  18.  
  19. elseif cht == "/e Inmates" then
  20.     Orange()
  21. elseif cht == "/e inmates" then
  22.     Orange()
  23.     end
  24.  
  25. function Blue()
  26.     Workspace.Remote.TeamEvent:FireServer("Bright blue")
  27. end
  28.  
  29. function Grey()
  30.     Workspace.Remote.TeamEvent:FireServer("Medium stone grey")
  31. end
  32.  
  33. function Orange()
  34.     Workspace.Remote.TeamEvent:FireServer("Bright orange")
  35. end
  36.  
  37.  
  38.  
  39. print("Script Started")
  40. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement