--StarterGui.AnimationsGui.RunButton.LocalScript or ServerScript
--I made a script but it does not work please help
--I used a server script
function onClicked(run)
if run then
game.LocalPlayer.WalkSpeed = 32
end
end
✓ ANSWER ACCEPTED
How do I make a script that changes the players walkspeed once they click a button on StarterGUI?
1 answer
✓ Accepted answer
Try doing this, I haven't tested it yet, but it should work c:
function onClick(mouse)
script.Parent.Parent.Parent.Parent.Character.Humanoid.WalkSpeed = 50
end
script.Parent.MouseButton1Click:connect(onClick)
This discussion is preserved as it was. New answers, comments, and votes are closed.

3 comments
(You can always change the walkspeed at: script.Parent.Parent.Parent.Parent.Character.Humanoid.WalkSpeed = 50 (Change 50 to another number, 16 is normal roblox speed.)
Thanks!
Your welcome!