Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Help w/ walkspeed script?

Asked by
FiredDusk 1466 Moderation Voter
9 years ago

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)
0
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. UserOnly20Characters 890 — 9y
1
try adding player:WaitForChild("Humanoid") :/ it could be running it before there is a humanoid to change pluginfactory 463 — 9y
0
What he said ^ supermanswaqq 65 — 9y

1 answer

Log in to vote
0
Answered by 9 years ago

I would recommend putting it in the ServerScriptService. Also, when you join the game the CharacterAdded function doesn't work until you reset.

0
When I join a game, the CharacterAdded event works for me. Redbullusa 1580 — 9y
0
Then whats the problem? lightninja212 25 — 9y
Ad

Answer this question