GetPlayers (Method): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>Camoy No edit summary |
>Itunes89 No edit summary |
||
Line 1: | Line 1: | ||
{{Deprecated}} | |||
<onlyinclude>{{Method | <onlyinclude>{{Method | ||
|name = GetPlayers | |name = GetPlayers |
Revision as of 14:14, 16 January 2012
Deprecated:This item is deprecated. Do not use it for new work.
GetPlayers( ) | |
Returns | Table list of players |
Description: | Gives you a table containing all the players in the server. |
Member of: | Players |
Example
for _,player in ipairs(game.Players:GetPlayers()) do player.Character:MoveTo(Vector3.new(0, 50, 0)) end