Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Localscript to all players?

Asked by 8 years ago

From a regular script in Workspace, how would I get each player in the game, and clone a localscript to each one's playergui?

1 answer

Log in to vote
1
Answered by 8 years ago

You would use the :GetChildren on the Players service. http://wiki.roblox.com/index.php?title=API:Class/Instance/GetChildren

Ad

Answer this question