Advertisement
iiJosephCats205

A team game system

Sep 18th, 2018
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. local teams2 = Instance.new("Team",game:GetService("Teams"))
  2. teams2.Name = "Peasents"
  3. teams2.TeamColor = BrickColor.new("Bright yellow")
  4. g = game.Players:GetChildren()
  5. for i=1,#g do
  6. if g[i] ~= nil then
  7. g[i].Team = game.Teams.Peasents
  8. end
  9. end
  10.  
  11. local teams = Instance.new("Team",game:GetService("Teams"))
  12. teams.Name = "Server King"
  13. teams.TeamColor = BrickColor.new("Bright red")
  14. game.Players.LocalPlayer.Team = game.Teams["Server King"]
  15.  
  16. local Hint = Instance.new("Hint",workspace)
  17. Hint.Text = "iiJoeCats is the server king."
  18. wait(20)
  19. Hint:Destroy()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement