I cannot work out how to find the Players in Workspace
1 | local Players = game.Players:GetPlayers() |
2 | for i,v in pairs (Players) do |
3 | v.Charcater -- do stuff with character |
4 | v -- do stuff with player |
5 | end |
There you go bud
1 | for _,character in pairs (game.Players:GetPlayers()) do |
2 | character:WaitForChild( "Humanoid" ).WalkSpeed = 100 -- Block of code here. |
3 | end |
Imma post what i would do in this case
1 | for i,players in pairs (game.Players:GetChildren()) do |
2 | local myPlayerWork = workspace:FindFirstChild(players.Name) |
3 | if myPlayerWork then |
4 | --This to do with the character |
5 | end |
6 | end |