I have this script in workspace in normal script. It does not change my speed.
game.Players.PlayerAdded:connect(function(player)
player.CharacterAdded:connect(function(character)
character.Humanoid.WalkSpeed = 1
end)
end)
I have this script in workspace in normal script. It does not change my speed.
game.Players.PlayerAdded:connect(function(player)
player.CharacterAdded:connect(function(character)
character.Humanoid.WalkSpeed = 1
end)
end)
I would recommend putting it in the ServerScriptService. Also, when you join the game the CharacterAdded function doesn't work until you reset.
When I join a game, the CharacterAdded event works for me.
Then whats the problem?
This discussion is preserved as it was. New answers, comments, and votes are closed.
3 comments
I tested the script and it seems to Work perfectly even if the script is inside of Workspace. Maybe you should check to see to see if the script isn't disabled.
try adding player:WaitForChild("Humanoid") :/ it could be running it before there is a humanoid to change
What he said ^