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 » Scripting Helpers
Home Search
 

Re: How would you add/change a team in-game?

Previous Thread :: Next Thread 
secret56310 is not online. secret56310
Joined: 30 Apr 2012
Total Posts: 1049
01 Mar 2014 10:19 AM
This is supported by admin, but what code would you type?
Report Abuse
funnymouse7 is not online. funnymouse7
Joined: 17 Mar 2011
Total Posts: 1741
01 Mar 2014 10:20 AM
game.Players.PLAYERNAME.TeamColor = BrickColor.new("Color name")

something like that
Report Abuse
GFXdylan is not online. GFXdylan
Joined: 09 Feb 2013
Total Posts: 679
01 Mar 2014 10:24 AM
for changing the name of a team;

game.Teams["currentteamnamehere"].Name = "newteamnamehere"
for a new team;

teams = game:GetService("Teams")
team = Instance.new("Team", teams)
team.Name = "teamnamehere"

to remove a team;
game.Teams["Teamnamehere"]:destroy()

no problem
Report Abuse
secret56310 is not online. secret56310
Joined: 30 Apr 2012
Total Posts: 1049
01 Mar 2014 10:28 AM
Thanks :)
Report Abuse
GFXdylan is not online. GFXdylan
Joined: 09 Feb 2013
Total Posts: 679
01 Mar 2014 10:33 AM
No problem.http://www.roblox.com/Forum/ShowForum.aspx?ForumID=20
Report Abuse
secret56310 is not online. secret56310
Joined: 30 Apr 2012
Total Posts: 1049
01 Mar 2014 10:35 AM
Don't leave yet! D:

How do I make it Non-Auto Assignable?
Report Abuse
secret56310 is not online. secret56310
Joined: 30 Apr 2012
Total Posts: 1049
01 Mar 2014 10:36 AM
and change the colour...
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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