I cannot work out how to find the Players in Workspace
✓ ANSWER ACCEPTED
How do I call all Workspace Players?
3 answers
✓ Accepted answer
local Players = game.Players:GetPlayers()
for i,v in pairs(Players) do
v.Charcater -- do stuff with character
v -- do stuff with player
end
1 comment
0
charcater
There you go bud
for _,character in pairs(game.Players:GetPlayers()) do
character:WaitForChild("Humanoid").WalkSpeed=100 -- Block of code here.
end
Imma post what i would do in this case
for i,players in pairs(game.Players:GetChildren())do
local myPlayerWork = workspace:FindFirstChild(players.Name)
if myPlayerWork then
--This to do with the character
end
end
This discussion is preserved as it was. New answers, comments, and votes are closed.

4 comments
Why not just do game.Players:GetPlayers()? Unless you're doing something specific with the players?
how would that work if i want to change their humanoid properties
player.Character
sorry for never accepting an answer, came back just a while ago and noticed this and answered it