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

I need assistance now please! Script works in opposite manner than scripted!?

Asked by 7 years ago
Edited 7 years ago

Help?

~~~~~~~~~~~~~~~~~

I'm making a humanoid's WalkSpeed increase gradually as he or she runs. But instead the walkSpeed increases only when the player doesn't move at all!

local dude = script.Parent

dude.Running:connect(function() if dude.WalkSpeed > 0 then for i = 16,600,1 do dude.WalkSpeed = i wait() end else dude.WalkSpeed = 16 end end)~~~

0
What do you mean by "chance a value if it stays the same for 5 seconds?" TheeDeathCaster 2368 — 7y

Answer this question