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: Team Limits

Previous Thread :: Next Thread 
Fazbear_saber is not online. Fazbear_saber
Joined: 08 Apr 2017
Total Posts: 26
25 Nov 2017 04:25 PM
I want to have imits to a team say like the blue team can only have 2 players and no oone else can get in becuase 2 is the limit. Plz help i have been searching for ages and i need help on this
Report Abuse
Soybeen is not online. Soybeen
Joined: 17 Feb 2010
Total Posts: 21462
25 Nov 2017 04:27 PM
This all depends on how you add them to the teams in the first place.
Report Abuse
Fazbear_saber is not online. Fazbear_saber
Joined: 08 Apr 2017
Total Posts: 26
25 Nov 2017 04:28 PM
I am doing it with a GUI so when they clikc it they switch teams and that works perfectly i just want to set a limit
Report Abuse
Soybeen is not online. Soybeen
Joined: 17 Feb 2010
Total Posts: 21462
25 Nov 2017 04:30 PM
if #game.Teams.TargetTeam:GetPlayers() >=2 then
print("team is full")
else
player.Team = game.Teams.TargetTeam
end
Report Abuse
Fazbear_saber is not online. Fazbear_saber
Joined: 08 Apr 2017
Total Posts: 26
25 Nov 2017 04:32 PM
How do i put which team i want to limit?
Report Abuse
Soybeen is not online. Soybeen
Joined: 17 Feb 2010
Total Posts: 21462
25 Nov 2017 04:35 PM
When they click the GUI you need to somehow get the team from that and edit my script accordingly.
Report Abuse
Fazbear_saber is not online. Fazbear_saber
Joined: 08 Apr 2017
Total Posts: 26
25 Nov 2017 04:37 PM
that sorta makes sense but couldnt it limit by the colours???
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