I'm trying to make a script that increases the players walkspeed by 1 every second by using a numbervalue but it isn't working, here's the script:
game.Players.PlayerAdded:connect(function(player) player.CharacterAdded:connect(function(character) character.Humanoid.WalkSpeed = script.Value.Value wait(1) script.Value.Value + 1 end) end)
No need for number value
game.Players.PlayerAdded:connect(function(player) local character = player.Character or player.CharacterAdded:wait() local Humanoid = character:WaitForChild("Humanoid") while wait(1) do Humanoid.WalkSpeed = Humanoid.WalkSpeed + 1 end end)