menu
Roblox Forum Archive
Home
User Search
Forums
Donate
search
settings
Home
User Search
Forums
Donate
launch
Go to User Dashboard
Forums
Scripters
How do you know the Amount of player?
chevron_left
chevron_left
chevron_left
of
1
chevron_right
chevron_right
chevron_right
How do you know the Amount of player?
RomDino
Join Date: 2015-07-04
Post Count: 2795
#215841494
Wednesday, May 03, 2017 9:00 AM GMT
Like this: if PlayerValue = 10 then print("Wow! 10 Players")
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
jordan0810
Join Date: 2012-06-03
Post Count: 846
#215841506
Wednesday, May 03, 2017 9:02 AM GMT
local plrAmount = #game.Players:GetPlayers() print("Wow! "..plrAmount.." Players")
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
Disillusions
Join Date: 2011-07-10
Post Count: 6365
#215841529
Wednesday, May 03, 2017 9:05 AM GMT
Use game.Players.NumPlayers No function call and table length getting
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
jordan0810
Join Date: 2012-06-03
Post Count: 846
#215841549
Wednesday, May 03, 2017 9:07 AM GMT
^ Didn't know that existed
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
RomDino
Join Date: 2015-07-04
Post Count: 2795
#215841713
Wednesday, May 03, 2017 9:21 AM GMT
I think I'll use Jorjan idea
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
aIexet
Join Date: 2012-04-10
Post Count: 2869
#215842057
Wednesday, May 03, 2017 9:42 AM GMT
I use game.Players.NumPlayers
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
chevron_left
chevron_left
chevron_left
of
1
chevron_right
chevron_right
chevron_right