I am using a custom character for my game, so things may be different, I am still using a Humanoid
and everything else needed in a character, but I do not have an animation script.
So, I need to figure out how I can detect when the Player
is moving at a certain WalkSpeed
, and I cant seem to figure it out. This is what I tried.
humanoid.Running:connect(function(speed) if speed > 10 and speed < 16 then print("Running") end end)
This should work if you have declared your humanoid the correct way.
However, you are saying if speed is > 10 and < 16. The standard walkspeed of a player is 16, but this will only print if they are 11-15 consider changing to this
humanoid.Running:connect(function(speed) if speed >= 10 and speed <= 16 then print("Running") else print('stopped Running') end end)
Locked by JesseSong
This question has been locked to preserve its current state and prevent spam and unwanted comments and answers.
Why was this question closed?