I don't remember, but I think there was this thing called "speed", which might've been removed.
This event will detect and handle people "running" which it will also detect walking.
http://wiki.roblox.com/index.php?title=Running_(Event)
So you can tell how fast someone is going in the script (May not detect speed hackers)
1 | game.Players.PlayerAdded:connect( function (p) |
2 | p.CharacterAdded:connect( function (c) |
3 | c:WaitForChild( "Humanoid" ).Running:connect( function (speed) |
4 | print (p.Name .. ":" .. speed) --Should print the speed of the player walking or running. |
5 | end ) |
6 | end ) |
7 | end ) |
1 | wait( 0.1 ) |
2 | if game.Players.LocalPlayer.Character.Humanoid.Magnitude > 0 then |
3 | print ( "Moving" ) |
4 | end |