generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Question

Previous Thread :: Next Thread 
ChadZer is online. 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 is online. 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 is not online. toflyc
Joined: 08 Jul 2011
Total Posts: 985
11 Mar 2017 07:54 PM
What's the button script?
Report Abuse
ChadZer is online. 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 is online. 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 is online. ChadZer
Joined: 14 Dec 2010
Total Posts: 653
11 Mar 2017 08:43 PM
bump


CZ
Report Abuse
Mister_Manakin is not online. Mister_Manakin
Joined: 16 Sep 2009
Total Posts: 1935
11 Mar 2017 08:47 PM
I think teams should be added through the server.
Report Abuse
WrathOfTheElvhen is online. WrathOfTheElvhen
Joined: 12 Jul 2012
Total Posts: 7754
11 Mar 2017 08:49 PM
Um, what's the code you're using to set each player's team?
Report Abuse
ChadZer is online. 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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image