Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Help w/ walkspeed script?

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)

3 comments

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.

1

try adding player:WaitForChild("Humanoid") :/ it could be running it before there is a humanoid to change

0

What he said ^

1 answer

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

2 comments

0

When I join a game, the CharacterAdded event works for me.

0

Then whats the problem?

This discussion is preserved as it was. New answers, comments, and votes are closed.