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

I'm having trouble with making a walk speed tool. What am I doing wrong?

Asked by 6 years ago
Edited 6 years ago
           tool = script.Parent
           Handle = tool:WaitForChild("Handle")

            tool.Activated:Connect(function()

    game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 50

    wait(60)

    game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16

end)

I used this script for a walk speed tool but it doesn't seem to give me or other players walk speed when they activate it. I really need to know what I did wrong here any answers?

0
Is it a server (regular) script or a local script? If it's not a localscript, it won't work as you're using LocalPlayer. User#20279 0 — 6y
0
I put it into my studio, and it worked. Make sure that "Handle" is spelled correctly, and has a capital H. Also, make sure that this is a local script and not a regular script. Amanda314159 291 — 6y
0
Thank you so much! That really helped! :) FreddydehNoob101 -3 — 6y

Answer this question