Basically, I get a player from when they touch a part and assign them to a variable “T1Player1”
local gamePlayers = {}
Then I just do gamePlayers = {T1Player1}
But for some reason when I run this code it doesn’t work?
-- Setting all the players walkspeed
for i = #gamePlayers, -1, 1 do
gamePlayers[i].Character.Humanoid.WalkSpeed = 0
end
Any ideas why?