PcoWSkbVqDnWTu_dm2ix
The Developer Hub is now deprecated and information on this page may no longer be accurate. Instead, you should go to our new and improved documentation. You can also learn more about the future of documentation.
Collapse Sidebar

Running

This event fires when the speed at which a Humanoid is running changes.

While running Humanoid|Humanoids cover, on average, their Humanoid/WalkSpeed in studs per second.

When the Humanoid stops running this event will fire with a speed of 0.

See also

  • For swimming and climbing see the Humanoid/Swimming and Humanoid/Climbing events
  • You can also detect when a Humanoid is running using the Humanoid/StateChanged event

Parameters

Name Type Default Description

The speed at which the Humanoid is running


Code Samples


Humanoid action events

This code, when run from a LocalScript parented to a Player/Character will listen to the Humanoid|Humanoid’s action events and print when they are fired.

This code sample is intended to demonstrate when each event does, and does not, fire.


Humanoid.Running

The below assumes that there’s a player in Workspace named “Player” who has a Humanoid. It will print whether or not their character is running.