Currently I am attempting to make a script that alters all characters in a game's appearance. My problem: I have no idea how to find and/all players. I know how to change the clothing, just not find the people. Please help me.
You can access each player in the game easily using two events: PlayerAdded
and CharacterAdded
1 | game.Players.PlayerAdded:connect( function (plr) --When a player joins the game |
2 | plr.CharacterAdded:connect( function (char) --When that player spawns in |
3 |
4 | --[[ Appearance editing here ]] -- |
5 |
6 | end ) |
7 | end ) |