ChadZer
|
  |
| Joined: 14 Dec 2010 |
| Total Posts: 653 |
|
|
| 11 Mar 2017 07:37 PM |
Script: team = Instance.new("Team") team.Name = "Red" team.AutoAssignable = false team.TeamColor = BrickColor.new("Bright red")
then why does this: team:Clone().Parent = game.Teams
work, but when I try to team players in it when I click a button, it doesn't work.
CZ |
|
|
| Report Abuse |
|
|
devHoodie
|
  |
| Joined: 04 Nov 2008 |
| Total Posts: 30332 |
|
|
| 11 Mar 2017 07:45 PM |
Is FilteringEnabled on?
are you trying to change their team through local script?
-- Former AKA : luis15232 |
|
|
| Report Abuse |
|
|
toflyc
|
  |
| Joined: 08 Jul 2011 |
| Total Posts: 985 |
|
| |
|
ChadZer
|
  |
| Joined: 14 Dec 2010 |
| Total Posts: 653 |
|
|
| 11 Mar 2017 08:16 PM |
@dev
FilteringEnabled isn't on, and yes I am.
CZ |
|
|
| Report Abuse |
|
|
ChadZer
|
  |
| Joined: 14 Dec 2010 |
| Total Posts: 653 |
|
|
| 11 Mar 2017 08:17 PM |
script.Parent.MouseButton1Down:connect(function() red = Instance.new("Team") red.Name = "Red" red.AutoAssignable = false red.TeamColor = BrickColor.new("Bright red") red:Clone().Parent = game.Teams blue = Instance.new("Team") blue.Name = "Blue" blue.AutoAssignable = false blue.TeamColor = BrickColor.new("Bright blue") blue:Clone().Parent = game.Teams end)
CZ |
|
|
| Report Abuse |
|
|
ChadZer
|
  |
| Joined: 14 Dec 2010 |
| Total Posts: 653 |
|
| |
|
|
| 11 Mar 2017 08:47 PM |
| I think teams should be added through the server. |
|
|
| Report Abuse |
|
|
|
| 11 Mar 2017 08:49 PM |
| Um, what's the code you're using to set each player's team? |
|
|
| Report Abuse |
|
|
ChadZer
|
  |
| Joined: 14 Dec 2010 |
| Total Posts: 653 |
|
|
| 11 Mar 2017 08:53 PM |
I'm testing it with admin, Adonis Loader, and it won't let me team. I also tried different admins.
CZ |
|
|
| Report Abuse |
|
|