So, This makes all player's Walkspeeds to 0 (so that they cannot move) then after 1 second makes their speed back to normal (so that they can move), but It doesn't make all player's speed back to 16, some players are still not able to move. Help me fix this?
local Players = game.Players:GetPlayers()
for i = 1, #Players do
Players[i].Character.Humanoid.WalkSpeed = 0
wait(1)
Players[i].Character.Humanoid.WalkSpeed = 16

1 comment
Try using GetChildren.