GetPlayers (Function): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Mindraker
No edit summary
>Ylsid
Added a section on Players.
Line 1: Line 1:
{{CatUp|Functions}}
{{CatUp|Functions}}
 
GetPlayers() returns all of the Players in [[RBX.lua.Players (Service)|Players]] as a table. Use this to find the players instead of game.Players:GetChildren(), as it's a lot more reliable.


[[Category:Functions]]
[[Category:Functions]]

Revision as of 19:41, 12 October 2008

GetPlayers() returns all of the Players in Players as a table. Use this to find the players instead of game.Players:GetChildren(), as it's a lot more reliable.