So err what I'm trying to do is change all of the players walk speed at a certain point, and not player added/player enter. So like after 15 seconds all players walk speed changes. This is what i tried.. :
wait(15) function (changespeed) for v_in pairs, do game.Players.Walkspeed = 0 end changspeed()
I think it's really wrong that is why i need help :/
What you did wrong:
game.Players
as an individual player (it is actually the holder of individual players).changspeed
was not the name defined, changespeed
was).Code:
wait(15) function changeSpeed() -- the function's name is defined outside of the parenthesis for _,v in pairs (game.Players:GetPlayers()) do -- loops through a table of players local char = v.Character -- their character if char then -- if their character exists char:WaitForChild("Humanoid").Walkspeed = 0 -- Walkspeed may need to be 'WalkSpeed', I can't remember currently end end end changeSpeed()
Hope I helped!
~TDP