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
 

Number of players for a team property?

Previous Thread :: Next Thread 
Intended_Pun is not online. Intended_Pun
Joined: 10 Aug 2016
Total Posts: 4384
06 Apr 2017 04:11 PM
I don't wanna use a while loop to detect if a team is empty or something, is there a team.NumPlayers property or am I out of luck?
Report Abuse
Wunder_Wulfe is online. Wunder_Wulfe
Joined: 13 Sep 2016
Total Posts: 8356
06 Apr 2017 04:12 PM
dude do u know about something called the wiki xdddddd
wiki.roblox.com/index.php?title=API:Class/Team
Report Abuse
Wunder_Wulfe is online. Wunder_Wulfe
Joined: 13 Sep 2016
Total Posts: 8356
06 Apr 2017 04:13 PM
also very simple just do

#team:getPlayers()
Report Abuse
Intended_Pun is not online. Intended_Pun
Joined: 10 Aug 2016
Total Posts: 4384
06 Apr 2017 04:16 PM
That doesn't answer my question at all

I want to check if the team has no players, I know about that but I'd have to use a loop to detect it and I don't want to :(
Report Abuse
Wunder_Wulfe is online. Wunder_Wulfe
Joined: 13 Sep 2016
Total Posts: 8356
06 Apr 2017 04:16 PM
??? lol
Report Abuse
thebayou is not online. thebayou
Joined: 21 Dec 2014
Total Posts: 628
06 Apr 2017 04:17 PM
Connect some event. idk.


||THEBAYOU|| - Almost famous dude
Report Abuse
Intended_Pun is not online. Intended_Pun
Joined: 10 Aug 2016
Total Posts: 4384
06 Apr 2017 04:20 PM
rip
Report Abuse
Unsubtleties is not online. Unsubtleties
Joined: 28 Nov 2016
Total Posts: 9203
06 Apr 2017 04:23 PM
Then either get the length of the array on a certain occasion or just use events?


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